Please Help Me With Scoring - 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: Please Help Me With Scoring (
/showthread.php?tid=113475)
Please Help Me With Scoring -
rs2fun111 - 13.12.2009
Hello .
i have 1 question .
if i drive with some vehicle and its giving 1 score point like in 1 minute ? is it possible?
Sorry for bad english
I am very thanks if someone help me :S
Re: Please Help Me With Scoring -
wafffllesss - 13.12.2009
Quote:
Originally Posted by rs2fun111
Hello .
i have 1 question .
if i drive with some vehicle and its giving 1 score point like in 1 minute ? is it possible?
Sorry for bad english
I am very thanks if someone help me :S
|
Easy.. make a timer that check if there is a player in the X vehicle. the timer should run every minute (60*1000).
When the timer runs just do:
SetPlayerScore(playerid, (GetPlayerScore(playerid)+1) );
Re: Please Help Me With Scoring -
rs2fun111 - 14.12.2009
how i make this timer im a beginner coder . :S
Re: Please Help Me With Scoring -
DJDhan - 14.12.2009
You might want to visit
SetTimerEx on SA-MP Wiki
Re: Please Help Me With Scoring -
rs2fun111 - 14.12.2009
i did it but it gives 1 score when i enter to car only