#5

Under your PM command :

Код:
if(!strcmp(cmdtext,"/pm",true))
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,0xff0000aa,"You are not an admin.");//you can use the variable you use for storing the admin level of a player

    //rest of your code

}
Reply


Messages In This Thread
help - by KJ1 - 13.07.2010, 00:03
Re: help - by TheInnocentOne - 13.07.2010, 00:31
Re: help - by KJ1 - 13.07.2010, 00:50
Re: help - by KJ1 - 13.07.2010, 01:09
Re: help - by DJDhan - 13.07.2010, 01:29
Re: help - by KJ1 - 13.07.2010, 02:47
Re: help - by KJ1 - 13.07.2010, 02:54
Re: help - by Adil - 13.07.2010, 04:20

Forum Jump:


Users browsing this thread: 2 Guest(s)