Vehicle Pickup?
#9

Quote:
Originally Posted by Glad2BeHere
Посмотреть сообщение
pawn Код:
new service[1];
//under gminit
server[0] = CreatePickup(1274, 1, x, y, z);

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == cash) 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;
}
if(pickupid == cash) and service and server?
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;
}
Reply


Messages In This Thread
Vehicle Pickup? - by guitarmandanny - 05.11.2012, 06:48
Re: Vehicle Pickup? - by Glad2BeHere - 05.11.2012, 07:02
Re: Vehicle Pickup? - by guitarmandanny - 05.11.2012, 07:03
Re: Vehicle Pickup? - by guitarmandanny - 05.11.2012, 07:11
Re: Vehicle Pickup? - by Glad2BeHere - 05.11.2012, 07:16
Re: Vehicle Pickup? - by Glad2BeHere - 05.11.2012, 07:21
Re: Vehicle Pickup? - by guitarmandanny - 05.11.2012, 07:27
Re: Vehicle Pickup? - by Glad2BeHere - 05.11.2012, 07:30
Re: Vehicle Pickup? - by Ballu Miaa - 05.11.2012, 07:30
Re: Vehicle Pickup? - by CmZxC - 05.11.2012, 07:36

Forum Jump:


Users browsing this thread: 2 Guest(s)