SA-MP Forums Archive
Hi i need help on car spawner. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Hi i need help on car spawner. (/showthread.php?tid=185528)



Hi i need help on car spawner. - Kuulp2he - 25.10.2010

Hi!
Quote:

dcmd_av(playerid, params[])
{
#pragma unused params
if(!IsPlayerLAdmin(playerid))return SendClientMessage(playerid,0xF60000AA, "You Need To Be An Admin To Use This Command");
else
ShowPlayerDialog(playerid, CARMENU, DIALOG_STYLE_LIST, "Vehicle Selection Menu","Bikes\nCars 1 [A-E]\nCars 2 [F-P]\nCars 3 [P-S]\nCars 4 [S-Z]\nHelicopters\nPlanes\nBoats\nTrains\nTrailers\nRC Vehicles + Vortex", "Select", "Cancel");
return 1;
}

like this is for rcon admin but it should to be all ladmins. I need to do it like every ladmin admin not rcon admin please help how to change it? tryied a lot of ways anything didnt help (Thanks)



Re: Hi i need help on car spawner. - MBX97 - 25.10.2010

do u get any errors


Re: Hi i need help on car spawner. - Kuulp2he - 25.10.2010

no i dont all fine


Re: Hi i need help on car spawner. - Hal - 25.10.2010

Quote:
Originally Posted by Kuulp2he
Посмотреть сообщение
no i dont all fine
then whats the problem?


Re: Hi i need help on car spawner. - Crayon - 25.10.2010

My guess is he meant he doesn't get any errors though it doesn't function properly. I've never heard of L admin either. S


Re: Hi i need help on car spawner. - Kuulp2he - 25.10.2010

This function:

Quote:

if(!IsPlayerLAdmin(playerid))return SendClientMessage(playerid,0xF60000AA, "You Need To Be An Admin To Use This Command");
else

I want like this every admin can use this but i can use this olny when im logged in as rcon :S


Re: Hi i need help on car spawner. - Kuulp2he - 31.10.2010

please close/delete this topic Thanks admin!