Help! - 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: Help! (
/showthread.php?tid=302861)
Help! -
ColdRain - 10.12.2011
Hello i add this lines at my script i got like them before workz but i dont know why this one not work check out
pawn Код:
if(getCheckpointType(playerid) == 34 && getCheckpointType(playerid) == 34)
{
ShowPlayerDialog(playerid,casinobuy,DIALOG_STYLE_L IST,"Casino Buy List","Beer ($10)\nWhiskey ($100)\nPlonk ($50)\nAbsolut ($250)\nBeer + Burger ($60)\nBlunts ($300)\nWine ($60)","Buy","Cancel");
SendClientMessage(playerid,COLOR_GREEN,"Type /robcasino to attempt casino robbery");
return 1;
}
when i enter checkpoint 34 he stay give em the text many times = spam! + dialog helpppp!!!!
i Try to return with 0 not work!!!!
Re: Help! -
Ash. - 10.12.2011
Firstly; why are you checking the same thing twice?
Secondly, what is "casinobuy"?
Thirdly, "DIALOG_STYLE_L IST", should be: "DIALOG_STYLE_LIST".
Fourthly; that code shouldn't even compile...
Re: Help! -
ColdRain - 10.12.2011
its copy wrong !! yea casinobuy is and #define first of script!!!!
btw in my script DIALOG_STYLE_LIST
!!!