Commands for only player
#1

Hello I need advice on how to make a statement to certain IP addresses? I think the list of IP addresses that they can use the command?

The condition for the IP lists

Код:
new ip[16];
GetPlayerIp(playerid, ip, sizeof(ip));
if(!strcmp(ip, "127.0.0.1")) //change 127.0.0.1 with the IP you wish to check against
{
//rest of command
}
Reply
#2

Why not just use the IsPlayerAdmin value?
Reply
#3

I do not want RCON password used by more people, I want just for me.
Reply
#4

make with your name..
your only name that can use it...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)