Command Problem
#7

Quote:
Originally Posted by willbedie
Посмотреть сообщение
Код:
CMD:level6(playerid,params[]) 
{ 
    GetPlayerName(playerid,name,sizeof(name)); 
    format(iname,sizeof(iname),"%s.ini",name); 
    if (dini_Int(iname,"Admin")<6) 
{ //What is this for?
    SendClientMessage(playerid,COLOR_RED, "Нямаш права за тази команда"); 
    return 1; 
}
This is if player is not atleast admin level 6 - it sends him message: You don't have permissions for this command!
Reply


Messages In This Thread
Command Problem - by TaligaroW - 29.09.2018, 20:35
Re: Command Problem - by solstice_ - 29.09.2018, 20:42
Re: Command Problem - by TaligaroW - 29.09.2018, 20:45
Re: Command Problem - by solstice_ - 29.09.2018, 20:46
Re: Command Problem - by TaligaroW - 29.09.2018, 20:53
Re: Command Problem - by solstice_ - 29.09.2018, 20:56
Re: Command Problem - by TaligaroW - 29.09.2018, 20:57
Re: Command Problem - by TaligaroW - 29.09.2018, 20:59
Re: Command Problem - by CaptainBoi - 30.09.2018, 04:36
Re: Command Problem - by TaligaroW - 30.09.2018, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)