PWNO Crashes - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: PWNO Crashes (
/showthread.php?tid=232608)
PWNO Crashes - Unknown123 - 27.02.2011
PAWNO Dont crash is i use:
pawn Код:
format(string, sizeof(string), "%s - %s(%d)", (reason == 0) ? ("TIMEDOUT") : ((reason == 1) ? ("QUIT") : ("KICKED/BANNED"), playerid, playerName));
But it crash if i use: (And it is that one i wanna use)
pawn Код:
format(string, sizeof(string), "%s - %s(%d)", (reason == 0) ? ("TIMEDOUT") : ((reason == 1) ? ("QUIT") : ("KICKED/BANNED"), playerName, playerid));
Summary:
pawn Код:
format(string, sizeof(string), "%s - %s(%d)", (reason == 0) ? ("TIMEDOUT") : ((reason == 1) ? ("QUIT") : ("KICKED/BANNED"), playerid, playerName)); //Dont Crash And Works
format(string, sizeof(string), "%s - %s(%d)", (reason == 0) ? ("TIMEDOUT") : ((reason == 1) ? ("QUIT") : ("KICKED/BANNED"), playerName, playerid)); //Crashed, And I Wanna Use This One