sscanf warning: Format specifier does not match parameter count.
#9

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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)