22.09.2013, 15:57
Hey, i am not sure how to use dialog if player pickup a pickup so here is what i have done and please if you have time make it right, thanks
Код:
new Bankomat;
Код:
//////////////////////////Bankomat Bankomat = CreatePickup(1212, 1, 1942.0297,-2361.3611,13.5469);
Код:
if(pickupid == Bankomat) { GetPlayerIp(playerid, ip2, sizeof(ip2)); ShowPlayerDialog(playerid, Bankomat, DIALOG_STYLE_LIST, "Cash Machine", "Account name: %s\nAccount number: %s\nBalance: $%d\n", "OK", "OK",Jmeno(playerid), GetPlayerIpEx(playerid), GetPlayerMoney(playerid)); return 1; }