SA-MP Forums Archive
CheckPoints... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CheckPoints... (/showthread.php?tid=581606)



CheckPoints... - karemmahmed22 - 14.07.2015

Guys, i was scripting a special shop,{selling special items n some stuff}
How i make only IF the player entered the SHOP CP it displays menu, cuz it displays the menu in any checkpoint
Код:
ShowPlayerDialog(playerid, DIALOG_SUPERCAR, DIALOG_STYLE_LIST, "Special Shop", "Blista Combat [SUPER]($500,000)", "Select", "Close");
its the code i use when the OnPlayerEnterCheckpoint() callback
idk why it displays the dialog in ANY check points like - other props checkpoints
how to fix it?
or i must replace the CP with objects?


Re: CheckPoints... - karemmahmed22 - 14.07.2015

Nvm, got idea to make it with isplayerinrangeofpoint , it worked