19.12.2011, 09:11
hi.
well I have a lot of commands...
but now idk what happend:
OnPlayerCommandText
Some commands :
it's say Unknow command.
well I have a lot of commands...
but now idk what happend:
OnPlayerCommandText
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { dcmd(rules,5,cmdtext); return 0; }
Код:
dcmd_rules(playerid, cmdtext[]) { #pragma unused cmdtext SendClientMessage(playerid, COLOR_BLUE2, " ---= World War Ruels =---"); SendClientMessage(playerid, COLOR_YELLOW, "1) Don't Use Any Kind of bugs"); SendClientMessage(playerid, COLOR_YELLOW, "2) Don't Hacks / Cheats"); SendClientMessage(playerid, COLOR_YELLOW, "3) Don't Insult/spam/flood"); SendClientMessage(playerid, COLOR_YELLOW, "4) Respect All Players/Admins"); SendClientMessage(playerid, COLOR_YELLOW, "5) Don't Score Farm"); SendClientMessage(playerid, COLOR_YELLOW, "6) Don't Park Your Car On Other Players"); SendClientMessage(playerid, COLOR_YELLOW, "7) Don't Spawn Kill"); SendClientMessage(playerid, COLOR_YELLOW, "8) Don't Ask For Score or cash..etc"); return 1; }