14.01.2015, 20:48
Hey guys..
I did this cmd and when im in HMA faction and typing
"/hsms" it says im not autorized.. but when im a normal player.. I can use /hsms.
Please help
I did this cmd and when im in HMA faction and typing
"/hsms" it says im not autorized.. but when im a normal player.. I can use /hsms.
Please help
Quote:
CMD:hsms(playerid, params[]) { if(PlayerInfo[playerid][pFaction] == 6) { SendClientMessage(playerid, COLOR_GREY, "You're not authorized to use that command!"); return 1; } if(PlayerInfo[playerid][pFaction] == 4 || PlayerInfo[playerid][pLeader] == 4) { SendClientMessage(playerid,COLOR_WHITE, "You're not Hitman Agency member."); return 1; } new string[128]; if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /hsms [mole text]"); format(string, sizeof(string), "SMS: %s, Sender: MOLE (555)",params); SendClientMessageToAllEx(COLOR_YELLOW, string); return 1; } |