Pawn compiler crashes, if/else if statement
#2

Code:
format(string, sizeof(string), "%d", i);
You are detecting name, why number comes here in the string? It is telling the script, find the number in the name, if no number found, kick him.

[/hr]
Code:
if(sscanf(name, "{p<_>s[12]s[12]}") != 0)
Try using something else?
Code:
if( sscanf( name, "p<_>s[12]s[12]" ))
Reply


Messages In This Thread
Pawn compiler crashes, if/else if statement - by Sublime - 12.06.2017, 04:08
Re: Pawn compiler crashes, if/else if statement - by SoFahim - 12.06.2017, 05:22
Re: Pawn compiler crashes, if/else if statement - by Vince - 12.06.2017, 07:10

Forum Jump:


Users browsing this thread: 1 Guest(s)