23.10.2012, 22:34
PHP код:
#include <a_samp>
#define MAIN 1
new briefcase;
public OnGameModeInit()
{
//.................
briefcase = CreatePickup(1210, 2, 1503.3359, 1432.3585, 10.1191, -1);//The coordinates
//...........
return 1;
}
//.................
//.................
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == briefcase)
{
ShowPlayerDialog(playerid, MAIN, DIALOG_STYLE_LIST, "{FFFF00}Weapon Store","{F0F0F0}Weapons\n{00FFFF}Else", "Ok", "Close");
return 1;
}
return 1;
}