SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 18/06/2012, 01:25 PM   #1
deimantas1
Big Clucker
 
Join Date: Jul 2011
Location: SA-MP
Posts: 93
Reputation: -1
Default Score

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.
deimantas1 is offline   Reply With Quote
Old 18/06/2012, 01:34 PM   #2
[MM]RoXoR[FS]
Gangsta
 
[MM]RoXoR[FS]'s Avatar
 
Join Date: Mar 2012
Location: Gurgaon,India
Posts: 738
Reputation: 138
Default Re: Score

pawn Code:
new scr = GetPlayerScore(playerid);
if(scr >= 0 && scr<80)
{
           //Show first dialog
}
else if(scr>=80)
{
         //Show Second Dialog
}
[MM]RoXoR[FS] is offline   Reply With Quote
Old 18/06/2012, 01:40 PM   #3
deimantas1
Big Clucker
 
Join Date: Jul 2011
Location: SA-MP
Posts: 93
Reputation: -1
Default Re: Score

Thanks.
deimantas1 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
score manchestera Scripting Help 3 22/10/2011 04:25 PM
help changing money score to kill(point) score please spike87 Scripting Help 11 19/09/2011 01:57 PM
score help MA_proking Help Archive 4 01/08/2011 08:05 AM


All times are GMT. The time now is 03:49 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.