4 compile errors
#12

Selten: I dont have any "*" infront of "if" ? And im sorry i dont understand, should i make it like this without onplayercommandtext? o. o

Код:
if (strcmp("/rules", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, red, " ~~Rules~~");
        SendClientMessage(playerid, red, "Never beg to be an admin! If you would like to be an admin sign up at forums");
        SendClientMessage(playerid, red, "Never steal other peoples cars! (Not their wifes either hihi !)");
        SendClientMessage(playerid, red, "NEVER deathmatch outside of deathmatch ares, it WILL lead to an kick/bann");
        SendClientMessage(playerid, red, "And remember, be nice to people and they will be nice to you! ");
        return 1;
    }
       /*if (strcmp("/anothercommand", cmdtext, true, 10) == 0) // remove the /* in front of if and replace: anothercommand with the command you have. Remove the OnPlayerCommandText you have for that command and add the script using "{" and "}"  than it should compile fine :)*/
    return 0;
}
Reply


Messages In This Thread
4 compile errors - by Kitten_Blind - 20.11.2010, 14:30
Re: 4 compile errors - by Mauzen - 20.11.2010, 14:33
Re: 4 compile errors - by Kitten_Blind - 20.11.2010, 15:09
Re: 4 compile errors - by Zh3r0 - 20.11.2010, 15:20
Re: 4 compile errors - by Kitten_Blind - 20.11.2010, 16:11
Re: 4 compile errors - by WillyP - 20.11.2010, 16:12
Re: 4 compile errors - by Austin - 20.11.2010, 16:14
Re: 4 compile errors - by Kitten_Blind - 20.11.2010, 16:16
Re: 4 compile errors - by The_Moddler - 20.11.2010, 19:15
Re: 4 compile errors - by Kitten_Blind - 20.11.2010, 21:04
Re: 4 compile errors - by selten98 - 20.11.2010, 21:45
Re: 4 compile errors - by Kitten_Blind - 20.11.2010, 21:55
Re: 4 compile errors - by Austin - 20.11.2010, 23:44
Re: 4 compile errors - by Kitten_Blind - 21.11.2010, 11:27
Re: 4 compile errors - by Kitten_Blind - 21.11.2010, 11:53

Forum Jump:


Users browsing this thread: 1 Guest(s)