Are you sure the cmd was typed right in the FS, and or GM? Make sure there are no grammatical errors in the script, that can dramatically affect your Command...
|
return 1;
#include <a_samp> #define FILTERSCRIPT #define G 0x99FF9900 #define R 0xAA3333AA public OnFilterScriptInit() { print("\n-----------------------------------------"); print("Help Help Help The Gay Raper"); print("MuHaHa I will Lick your ass!!!!!!____________"); print("-------------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext,"/rules",true)==0) { SendClientMessage(playerid,R,"_------Your Server Name Rules----_"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,G,"Your rule Here"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,G,"Your Rule Here"); SendClientMessage(playerid,R,"_--------------------------------_"); return 1; } return 0; }
dcmd_adarmy(playerid,params[]) {
new ID;
if(sscanf(params,"u",ID)) return SendClientMessage(playerid,0xA70000FF,"/adarmy ID");
ArmyRights[ID] =1;
return true;
}
dcmd_adswat(playerid,params[]) {
new ID;
if(sscanf(params,"u",ID)) return SendClientMessage(playerid,0xA70000FF,"/adswat ID");
SwatRights[ID] =1;
return true;
}
dcmd_adNCIS(playerid,params[]) {
new ID;
if(sscanf(params,"u",ID)) return SendClientMessage(playerid,0xA70000FF,"/adNCIS ID");
NCISRights[ID] =1;
return true;
}