SA-MP Forums Archive
Checkpoint won't work. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Checkpoint won't work. (/showthread.php?tid=137196)



Checkpoint won't work. - ScottCFR - 28.03.2010

I am using Lethal Checkpoint Streamer. And i can't get my Second checkpoint to show a dialog when entered.

Anyone know why?


Re: Checkpoint won't work. - Fedee! - 28.03.2010

Quote:
Originally Posted by ScottCFR
I am using Lethal Checkpoint Streamer. And i can't get my Second checkpoint to show a dialog when entered.

Anyone know why?
Show the code please.


Re: Checkpoint won't work. - ScottCFR - 28.03.2010

My bad


pawn Код:
case 1:
        {
            ShowPlayerDialog(playerid, 98756, DIALOG_STYLE_LIST, "Pharmacy", "Fill Perscription($25)\nBuy Beer($50)\nBuy Headache pills($100)\nBuy Weed($500)\nROB PHARMACY","Ok","Cancel");
        }
EDIT: The checkpoint shos just doesn't show the dialog.


Re: Checkpoint won't work. - jamesbond007 - 28.03.2010

rofl 98756? wth?

try 1 maybe?


show us the whole code please


Re: Checkpoint won't work. - Joe Staff - 28.03.2010

DialogIDs can't go above 30000 or so (It's something like 32767 or some weird crap, my guess is half of 65535 or 0xFFFF) or it will cause errors, like the dialog screen not working.


Re: Checkpoint won't work. - iLcke - 28.03.2010

maybe as, OnPlayerEnterCheckpoint, it could show the dialog..?

https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint