• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] how make a correct IF function with for parameter vehicle ID == enum id
#3
(2021-05-01, 12:54 AM)Radical Wrote: I do not understand what you want.

Please explain more...



I just wanna show dialog if player enter vehicle on dealer vehicle sir



Code:
if(vehicleid == SalonCarIdSlot[salon][s] )

{

new st[160];

format(st,sizeof(st),"Anda yakin ingin membeli nomor tansport %i?\n\nModel: %s\nBiaya: $%i",slot,NameCars(SalonModelSlot[s][slot]),SalonPriseSlot[s][slot]);

ShowPlayerDialog(playerid,64, DIALOG_STYLE_MSGBOX, "Pasar mobil", st, "Untuk membeli", "Keluarlah");

}
  Reply


Messages In This Thread
RE: HELP! How to display dialog style on certain vehicles group enum? - by PutuSuhartawan - 2021-05-01, 03:59 AM

Forum Jump: