20.11.2010, 21:55
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;
}

