30.08.2015, 06:15
I want to make a cmd /apm which will Say PMFROMADMIN:message
usage could be /apm (id) (message)
Example:
/apm 1 HI
will send this to the player id 1
[PMFROMADMIN]:HI
i use lux admin below is the code of lux admin
usage could be /apm (id) (message)
Example:
/apm 1 HI
will send this to the player id 1
[PMFROMADMIN]:HI
i use lux admin below is the code of lux admin
Код:
if(strcmp(cmd, "/help", true) == 0)
{
if(IsPlayerLuxAdmin(playerid))
{
//Function Here
}
else SendClientMessage(playerid, COLOR_WHITE, "ERROR: You not is Administrator");
return 1;
}


Don't forget to define COLOR_LIGHTGREEN if you haven't done it already.