Quote:
Originally Posted by Pixels^
pawn Code:
if (strcmp(cmdtext, "/rules", true)== 0 SendClientMessage(playerid, 0x33AA33AA, ".:[Plasma X-Games™].:.[Rules and Regulations]:."); SendClientMessage(playerid, 0x33AA33AA, "NO CHEATING IN RACES!! Or RAMMING WILL GET YOU BANNED"); SendClientMessage(playerid, 0x33AA33AA, "No Spawn Killing or DM'ing with health cheat on"); SendClientMessage(playerid, 0x33AA33AA, "No Car Jacking!! Respect other peoples rides, Get your Own!!"); return 1;}
Needs to be
pawn Code:
if (strcmp(cmdtext, "/rules", true)== 0) { //messages here return 1; }
|
Thank you so much now my server works and people can now type /rules without it showing everyone else