05.11.2012, 07:30
Quote:
pawn Код:
|
Really?
In case your using above example then it should be.
pawn Код:
//Anywhere in the game mode but not in any callback or function
new servercp[1];
//Under OnGameModeInIt()
servercp[0] = CreatePickup(1274, 1, x, y, z);
//Under OnPlayerPickupPickup
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == servercp[0]) ShowPlayerDialog(playerid, DIALOG_SERVICE, DIALOG_STYLE_LIST, "Service Station.", "Add Nos: Price 500$\nAdd Hydraulics: Price 500$\nChange Vehicle Colour\nRepair Vehicle: Price 750$", "Select", "Close");
return 1;
}