CMD:giveveh( playerid, params[ ] ) { if ( GetPVarInt( playerid, "Level" ) < 2 ) return SendClientMessage( playerid, -1, "You are not allowed to use this command"); if ( sscanf( params, "uiii", params[ 0 ], params[ 1 ], params[ 2 ], params[ 3 ] ) ) return SendClientMessage( playerid, -1, ""COL_LIGHTBLUE"Usage:{FFFFFF} /giveveh <id/name> <vehicleID> <color 1> <color 2> "); if ( !IsPlayerConnected( params[ 0 ] ) ) return SendClientMessage( playerid, -1, ""COL_RED"Player is not connected"); if(params[1] < 400 || params[1] > 611 ) return SendClientMessage( playerid, -1, ""COL_LRED"Invalid vehicle ID."); if(params[2] < 0 || params[2] > 255 || params[3] < 0 || params[3] > 255) return SendClientMessage( playerid, -1, ""COL_LRED"Invalid vehicle colors."); new Float: X, Float: Y, Float: Z, veh, vehname[100]; GetPlayerPos(params[0], X, Y, Z); veh = CreateVehicle(params[1], X, Y, Z, 0, params[2], params[3], 300); PutPlayerInVehicle(params[0], veh, 0); LinkVehicleToInterior(veh, GetPlayerInterior(params[0])); new string[128], vehid; vehid = GetPlayerVehicleID(params[0]); vehname = GetVehicleName(vehid); SetPlayerArmedWeapon(params[0],2); format(string,sizeof(string),"Admin %s gives a %s to %s.",pName( playerid ),vehname, pName(params[0])); ABC(COLOR_RED,string,1); return 1; } Comanda asta am creat-o pentru serverul meu.Cu aceasta comanda creeze o masina cuiva, alegand inclusiv culorile.Deci o poti folosi atat pentru tine, cat si pentru alti playeri.Comanda este informativa, cu siguranta iti va da erori pentru ca nu ai definite ABC, pName, GetPVarInt si multe altele.Nu am de unde sa stiu cum le ai tu definite in GM-ul tau.