03.02.2012, 10:44
(
Последний раз редактировалось vent; 21.05.2015 в 15:43.
)
****
new g_Pickup;
public OnGameModeInit() {
g_Pickup = CreatePickup(...); // -2126.2483, -2303.6755, 30.6319
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == g_Pickup && KasutajaInfo[playerid][mTookoht] == 0)
{
ShowPlayerDialog(playerid,DIALOOG_TOOKOHT_MEH,DIALOG_STYLE_MSGBOX,"Tццleping","Tervist!\n Kas soovite hakata Angel Pine Mehaanikud AS tццtajaks?","Soovin","Ei soovi");
#if defined DEBUG
SendClientMessage(playerid, COLOR_RED, "[Debug] 2126.2483,-2303.6755,30.6319 | Angel Pine Mehaanikud AS");
#endif
}
return 1;
}