how to send message to admin with command
#1

i do that
Код:
	public OnPlayerCommandText(playerid, cmdtext[])
{
	if(!strcmp(cmdtext,"/want",true))
        {
       SendClientMessage(playerid,0xE100E1FF,"|Your Order Send to admins|");
       format(string, sizeof(string), "%s\"(id: %d) Want to be an admin",name,playerid);
       IsPlayerAdmin(0x008040FF,string);print(string);

		}
	return 1;
        }
but not tested please i try it now help me any one join
Reply
#2

First of all, read the wiki tutorial ...
Second of all, what is this for?
pawn Код:
IsPlayerAdmin(0x008040FF,string);print(string);
This is how you want it
http://pastebin.com/0HcfDQyZ
Untested, but should work
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)