Hi i need help on car spawner.
#1

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)
Reply
#2

do u get any errors
Reply
#3

no i dont all fine
Reply
#4

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

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
Reply
#6

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
Reply
#7

please close/delete this topic Thanks admin!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)