Quote:
Originally Posted by irinel1996
Here you have a basic code:
pawn Код:
new shop_pickup;
public OnGameModeInit() { shop_pickup = CreatePickup(..........................); return 1; }
public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == shop_pickup) { ShowPlayerDialog(.............................); } return 1; }
//And learn how to use OnDialogResponse.
It's not hard, good luck. I don't have time to make it for you, sorry.
|
there goes pickup model id and coords, right?
pawn Код:
shop_pickup = CreatePickup(..........................);