Admins Cmds
#8

Quote:
Originally Posted by ShihabSoft
Посмотреть сообщение
Just add a return 1; to the end of the function, just like shown below.

PHP код:
CMD:kick(playeridparams[]) 

    new 
id
    if (
sscanf(params"u"id)) return SendClientMessage(playerid,-1"usage: /kick <id>"); 
    if( 
pinfo[playerid][adminlevel] += 
    { 
        
Kick(id); 
    } 
    else return 
SendClientMessage (playerid, -1"you dont have permission!"); 
return 
1;

No I UnderStand Its Compile and No warning Just Tell me How to add My filter Script On My gamemode Grandlac1
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)