Quote:
Originally Posted by Guitar
pawn Код:
CMD:destroyveh(playerid, params[]) //SSCANFBUG { if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid,COLOR_RED,".:: You are not authorized to use this command ::."); if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xA40000C8, "You must be in vehicle!"); new currentveh = GetPlayerVehicleID(playerid); DestroyVehicle(currentveh); return 1; }
|
You don't even use sscanf here.