SA-MP Forums Archive
About LuxAdmin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: About LuxAdmin (/showthread.php?tid=283095)



About LuxAdmin - FrostDoggy - 13.09.2011

Well I got a question , most of you know the FS "LuxAdmin".
Well I didn't find how to:
- Set the admin commands level how I want for e.g command "/car [carid] [color1] [color2]" to be for regular players and not for Admin Level 3.

Thanks in advance.


Re: About LuxAdmin - [WoF]Sonny - 13.09.2011

Open LuxAdmin pwn, press CTRL + F, type in dcmd_car, and it should find for you. Then change Level 3 to level 0 and compile. After that everybody will be able to use that cmd

Quote:

dcmd_car(playerid,params[])
{
if(AccInfo[playerid][Level] >= 0)
{
new Index;
new tmp[256]; tmp = strtok(params,Index);
new tmp2[256]; tmp2 = strtok(params,Index);
new tmp3[256]; tmp3 = strtok(params,Index);