/tune error
#4

I don't see a reason for return 0.

Try this. Should work
pawn Код:
CMD:tune(playerid, params[])
{
   new playerstate = GetPlayerState(playerid);
   if(playerstate == PLAYER_STATE_DRIVER) return ShowPlayerDialog(playerid, DIALOG_TYPE_MAIN, DIALOG_STYLE_LIST, "Car Tuning Menu", "Paint Jobs\nColors\nHoods\nVents\nLights\nExhausts\nFront Bumpers\nRear Bumpers\nRoofs\nSpoilers\nSide Skirts\nBullbars\nWheels\nCar Stereo\nHydraulics\nNitrous Oxide\nRepair Car", "Enter", "Close");
   else return SendClientMessage(playerid, COLOR_RED, "[ERROR] You cannot modify/tune a car unless you are the driver.");
}
I'm not using ZCMD so i can't test it.
Reply


Messages In This Thread
/tune error - by xXitsgodzillaXx - 10.05.2013, 20:08
Re: /tune error - by Antonio144 - 10.05.2013, 20:15
Re: /tune error - by xXitsgodzillaXx - 10.05.2013, 20:20
Re: /tune error - by Antonio144 - 10.05.2013, 20:32
Re: /tune error - by xXitsgodzillaXx - 10.05.2013, 21:21

Forum Jump:


Users browsing this thread: 1 Guest(s)