19.07.2012, 15:54
Hi everybody.
I have problem...
I was created one dynamic pickup - streamer plugin.
On top:
On public game mode init:
And on PickUp
What's wrong?
Because when I pick up kupno[0] - nothing happens.
Sorry for my English
I have problem...
I was created one dynamic pickup - streamer plugin.
On top:
Код:
new kupno[5];
Код:
kupno[0] = CreateDynamicPickup(1274, 1, -1657.8188, 1210.8721, 7.2500, 0, 0, -1, 15.0);
Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid) { if(pickupid == kupno[0])//salon { ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, ""kzo"Cars - sporting", "Write /buy for buy a car.", "Buy", "Cancel"); SendClientMessage(playerid, -1, "yyy2"); } return 1; }
Because when I pick up kupno[0] - nothing happens.
Sorry for my English