Yes, which happens in a lot of codes, so what's the problem I just wanted to know how it's being caused
Some codes that cause the problem:
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;
}
pawn Код:
CMD:explode(playerid, params[]) //SSCANFBUG
{
if(PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_RED,".:: You are not authorized to use this command ::.");
new targetid;
if(sscanf(params, "uz", targetid)) return SendClientMessage(playerid, COLOR_WHITE, ""#COL_DGREY"[CMD] / "#COL_SGREY"[PlayerID/PartOfName]");
if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_WHITE, ""#COL_ORANGE"[ERROR]"#COL_LRED" Player not connected!");
else
{
new Float:SLX, Float:SLY, Float:SLZ;
GetPlayerPos(targetid, SLX, SLY,SLZ);
CreateExplosion(SLX, SLY, SLZ, 11, 0.25);
new string[128];
new pName[24], pTame[24];
GetPlayerName(playerid,pName,24);
GetPlayerName(targetid,pTame,24);
format(string,sizeof string,""#COL_ORANGE"[SERVER]"#COL_LRED" %s has been exploded by Administrator %s.",pTame,pName);
SendClientMessageToAll(COLOR_RED, string);
}
return 1;
}
And a lot more