Admins Cmds
#10

Quote:
Originally Posted by jlalt
Посмотреть сообщение
PHP код:
if( pinfo[playerid][adminlevel] += 
;_; are you good sir?
PHP код:
if( pinfo[playerid][adminlevel] >= 
about return , you simple needed a return 1; somewhere so ->

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
    {
        
SendClientMessage (playerid, -1"you dont have permission!"); 
    }
    return 
1;

Yes you correct, this is just fault of attention
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)