28.10.2012, 18:56
Quote:
Seems to be a sscanf issue - The code looks fine, try downloading the latest include then put it in the PAWN include folder & recompile the script. https://sampforum.blast.hk/showthread.php?tid=120356
|
pawn Код:
format(Msg, sizeof(Msg), "%s has kicked %s due to %s", GetPlayerName(playerid, Name, sizeof(name), GetPlayerName(kicktarget, Namee, sizeof(Namee)), reason);
You need to do something like...
pawn Код:
new Name[MAX_PLAYER_NAME], Msg[128];
GetPlayerName(playerid, Name, sizeof(Name));
format(Msg, sizeof(Msg), "%s has blah blah", Name);