14.01.2013, 14:46
pawn Код:
new mymaker = AddStaticPickup(1242, 1, 1503.3359, 1432.3585, 10.1191, 0);
public OnPlayerPickUpPickup(playerid, pickupid) {
if(pickupid == mymarker) ShowPlayerDialog(playerid, 777, DIALOG_STYLE_LIST, "Weapons", "TransFender\nLoco Low Co.\nWheel Arch Angels", "Teleport", "Exit");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
if(dialogid == 777) {
if(listitem == 0) // TransFender
// SetPlayerPos();
else if(listitem == 1) // Loco Low Co.
// SetPlayerPos();
else if(listitem == 2) // Wheel Arch Angels
// SetPlayerPos();
}
}