Problem with admin chat :|
#5

Quote:
Originally Posted by Conroy
Посмотреть сообщение
A useful tip for any future commands:

Instead of creating loads of unnecessary structures, such as 'if(adminlevel[playerid] >= 1)', simply do:

if(adminlevel[playerid] < 1) return SendClientMessage(playerid, RED, "No estas autorizado a utilizar este comando.");

By doing this you will keep your structures organised and can easily see what code is where (to prevent your problem from happening again).

-Conroy
Oh, yea, it could be.. but I am used like that XD

Thanks for the tip
Reply


Messages In This Thread
Problem with admin chat :| - by Fedee! - 17.09.2010, 21:17
Re: Problem with admin chat :| - by DRIFT_HUNTER - 17.09.2010, 21:20
Re: Problem with admin chat :| - by Fedee! - 17.09.2010, 21:24
Re: Problem with admin chat :| - by Conroy - 17.09.2010, 21:54
Re: Problem with admin chat :| - by Fedee! - 17.09.2010, 22:12

Forum Jump:


Users browsing this thread: 1 Guest(s)