SA-MP Forums Archive
Spam 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: Spam Help! (/showthread.php?tid=302558)



Spam Help! - ColdRain - 09.12.2011

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;
}


I puted this dialog from casino checkpoint its work but when i enter the checkpoint its stay give me same dialog like you know spam me ! and the text /robcasino to !! help me


Re: Spam Help! - Max_Coldheart - 09.12.2011

Please use [pawn] & [/pawn] tags.


Re: Spam Help! - davve95 - 09.12.2011

Her u get spam help: skfjfц htp4thnt yhЁluh
ulu.. Haha just kidding


Re: Spam Help! - Max_Coldheart - 09.12.2011

And show us your OnDialogResponse callback


Re: Spam Help! - MoroDan - 09.12.2011

Quote:
Originally Posted by ColdRain
Посмотреть сообщение
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;
}


I puted this dialog from casino checkpoint its work but when i enter the checkpoint its stay give me same dialog like you know spam me ! and the text /robcasino to !! help me
You forgot to reset the variable which getCheckpointType returns, to 0.


Re: Spam Help! - ColdRain - 09.12.2011

not work!