[HELP] Command Bug.
#9

Give a try.

PHP код:
CMD:neon(playeridparams[])
{
     if(
GetPlayerState(playerid) == PLAYER_STATE_DRIVER) return SendClientMessageEx(playeridCOLOR_GREY"You are not the driver!");
     if(
PlayerVehicleInfo[playerid][vehid][pvNeon] < _:true) return SendClientMessageEx(playeridCOLOR_GREY"This vehicle doesn't have neon!");
     if(
Neon[vehid] == _:true) return (UnloadNeon(playeridvehid),SendClientMessageEx(playeridCOLOR_GREY"Neon turned off."),Neon[vehid] = false,true);
     return (
LoadNeon(playeridvehid),SendClientMessageEx(playeridCOLOR_GREY"Neon turned on."),Neon[vehid] = true,true);

Reply


Messages In This Thread
[HELP] Command Bug. - by RenovanZ - 07.12.2012, 11:41
Re: [HELP] Command Bug. - by HireMe - 07.12.2012, 14:56
Re: [HELP] Command Bug. - by RenovanZ - 08.12.2012, 04:24
Re: [HELP] Command Bug. - by Threshold - 08.12.2012, 04:55
Re: [HELP] Command Bug. - by RenovanZ - 08.12.2012, 05:26
Re: [HELP] Command Bug. - by RajatPawar - 08.12.2012, 05:48
Re: [HELP] Command Bug. - by RenovanZ - 08.12.2012, 06:06
Re: [HELP] Command Bug. - by Faisal_khan - 08.12.2012, 06:21
Re: [HELP] Command Bug. - by leonardo1434 - 08.12.2012, 06:36
Re: [HELP] Command Bug. - by RenovanZ - 08.12.2012, 06:47

Forum Jump:


Users browsing this thread: 1 Guest(s)