strmp to zcmd
#10

It can literally go anywhere in your script, as long as it isn't under any form of callback or function. Place it at the bottom of your script if you want to.

pawn Код:
CMD:tune(playerid, params[])
{
    if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_RED, "SERVER: You must be in a vehicle to tune it.");
    if(IsPlayerInRangeOfPoint(playerid, 10.0, 1256.05, -1469.17, 13.61))
        ShowPlayerDialog(playerid, DIALOG_TYPE_MAIN, DIALOG_STYLE_LIST, "Tuning Garage", "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
        SendClientMessage(playerid, COLOR_RED, "SERVER: You need to be in a Tuning garage.");
    return 1;
}
Reply


Messages In This Thread
strmp to zcmd - by Shazwan - 17.05.2014, 07:28
Re: strmp to zcmd - by saikumar - 17.05.2014, 07:35
Re: strmp to zcmd - by Ciandlah - 17.05.2014, 07:37
Re: strmp to zcmd - by Shazwan - 17.05.2014, 07:40
Re: strmp to zcmd - by Ciandlah - 17.05.2014, 07:42
Re: strmp to zcmd - by SAMProductions - 17.05.2014, 07:42
Re: strmp to zcmd - by Parallex - 17.05.2014, 07:43
Re: strmp to zcmd - by Shazwan - 17.05.2014, 07:56
Re: strmp to zcmd - by JuanStone - 17.05.2014, 08:36
Re: strmp to zcmd - by Threshold - 17.05.2014, 08:48

Forum Jump:


Users browsing this thread: 4 Guest(s)