29.04.2016, 18:41
I have a little problem.
My dialog keeps opening if I am in the pickup CP.
So I can't select something because it keeps taking me to the "home pace" of that dialog.
CODE:
My dialog keeps opening if I am in the pickup CP.
So I can't select something because it keeps taking me to the "home pace" of that dialog.
CODE:
PHP код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == mybriefcase)
{
ShowPlayerDialog(playerid, 777, DIALOG_STYLE_LIST, "Briefcase", "Health - 5000$\nArmour - 5000$\n\nWeapons", "Select", "Cancel");
}
return 1;
}