Admins Cmds
#5

Quote:
Originally Posted by dopeboy1040
Посмотреть сообщение
Guzs I want Some Admins Command Like Kick Ban Make Admin Freeze Unfreeze

WithOut any inc Its Possible
PHP код:
CMD:freeze(playerid,params)
{
     new 
id;
     if(
sscanf(params,"u",id))
     {
        
SendClientMessage(playerid,0xFF0000FF,"USAGE: /freeze [playerid");
        return 
1;
     }
     if(
IsPlayerConnected(id) && id != playerid)
     {
        
TogglePlayerControllable(id0);
     }
     return 
1;
}
CMD:unfreeze(playerid,params)
{
     new 
id;
     if(
sscanf(params,"u",id))
     {
        
SendClientMessage(playerid,0xFF0000FF,"USAGE: /unfreeze [playerid");
        return 
1;
     }
     if(
IsPlayerConnected(id) && id != playerid)
     {
        
TogglePlayerControllable(id1);
     }
     return 
1;

It is possible
Reply


Messages In This Thread
Admins Cmds - by dopeboy1040 - 01.05.2017, 16:02
Re: Admins Cmds - by moura98 - 01.05.2017, 17:27
Re: Admins Cmds - by dopeboy1040 - 06.05.2017, 17:26
Re: Admins Cmds - by jlalt - 06.05.2017, 18:35
Re: Admins Cmds - by Loinal - 06.05.2017, 21:21
Re: Admins Cmds - by dopeboy1040 - 07.05.2017, 06:50
Re: Admins Cmds - by ShihabSoft - 07.05.2017, 07:02
Re: Admins Cmds - by dopeboy1040 - 07.05.2017, 07:20
Re: Admins Cmds - by coool - 07.05.2017, 07:29
Re: Admins Cmds - by moura98 - 07.05.2017, 13:01

Forum Jump:


Users browsing this thread: 1 Guest(s)