13.07.2010, 00:03
Hello how i can make pm only for admins
i mean if admin need to pm player
only admin have acess to use it
thank u all
i mean if admin need to pm player
only admin have acess to use it
thank u all
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 }