What's the error?
#1

pawn Код:
CMD:stuntbonus(playerid,params[])
{
    if(EnableStuntBonusForPlayer(playerid, 0));
    {
        EnableStuntBonusForPlayer(playerid, 1);
        SendClientMessage(playerid, yellow, "Stunt bonus has been {ffffff}enabled{ffff00}.");
    }
    if(EnableStuntBonusForPlayer(playerid, 1));
    {
        EnableStuntBonusForPlayer(playerid, 1);
        SendClientMessage(playerid, red, "Stunt bonus has been {ffffff}disabled{ff0000}.");
    }
    return 1;
}
Код:
C:\Documents and Settings\User\Desktop\SAMP 0.3X Scripting\gamemodes\stuntproject.pwn(128) : error 036: empty statement
C:\Documents and Settings\User\Desktop\SAMP 0.3X Scripting\gamemodes\stuntproject.pwn(133) : error 036: empty statement
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
How to fix it?
Reply


Messages In This Thread
What's the error? - by LeeXian99 - 20.04.2013, 05:46
Respuesta: What's the error? - by Parka - 20.04.2013, 05:57
Re: What's the error? - by LeeXian99 - 20.04.2013, 06:13
Re: What's the error? - by Giroud12 - 20.04.2013, 06:16

Forum Jump:


Users browsing this thread: 1 Guest(s)