Pawno help
#4

Reasons experienced by me that cause pawno to crash:
1: An un-terminated strin, EX:
PHP код:
SendClientMessageToAll(-1,"Hi); 
See after "Hi << there isn't another " to terminate the string.
and it should look like this :
PHP код:
 SendClientMessageToAll(-1,"Hi"); 
2: An unmatching closing brace, for EX:
PHP код:
public OnPlayerConnect(playerid)
{
    
SendClientMessageToAll(-1,"Someone connected");
    }
    return 
1;

see on the code above we have one { and two } so remove one the code should've looked like
PHP код:
public OnPlayerConnect(playerid)
{
    
SendClientMessageToAll(-1,"Someone connected");
    return 
1;

And the vise versa you might have two {{ and only one } so review your code and see where you fucked up.

these were the reasons that I KNOW OF idk if there's more or not.
Reply


Messages In This Thread
Pawno help - by RoyalGamer - 21.12.2017, 07:03
Re: Pawno help - by Fratello - 21.12.2017, 07:12
Re: Pawno help - by Ritzy2K - 21.12.2017, 07:13
Re: Pawno help - by RogueDrifter - 21.12.2017, 07:21
Re: Pawno help - by Ritzy2K - 21.12.2017, 08:06
Re: Pawno help - by RogueDrifter - 21.12.2017, 08:18

Forum Jump:


Users browsing this thread: 1 Guest(s)