Score - 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: Score (
/showthread.php?tid=352098)
Score -
deimantas1 - 18.06.2012
Hi, I want to make a player score equal to or greater than zero indicates the first conversation, and if greater than or equal to 80 show the second dialog. But when I get it always shows the first dialog. Help.
Re: Score -
[MM]RoXoR[FS] - 18.06.2012
pawn Code:
new scr = GetPlayerScore(playerid);
if(scr >= 0 && scr<80)
{
//Show first dialog
}
else if(scr>=80)
{
//Show Second Dialog
}
Re: Score -
deimantas1 - 18.06.2012
Thanks.