SA-MP Forums Archive
get player 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: get player score (/showthread.php?tid=282289)



get player score - RBTDM - 10.09.2011

How to get player score?
+1 score?


Re: get player score - Kush - 10.09.2011

https://sampwiki.blast.hk/wiki/GetPlayerScore


Re: get player score - RBTDM - 10.09.2011

if i have 12 score and i want to add 1 more then what i should type? or script


Re: get player score - Wesley221 - 10.09.2011

If you checked the link you would have known it.
pawn Code:
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);



Re: get player score - Davz*|*Criss - 10.09.2011

pawn Code:
COMMAND:gimmescore(playerid, params[])
{
    SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
    return 1;
}



Re: get player score - RBTDM - 10.09.2011

ok ty guys


Re: get player score - =WoR=G4M3Ov3r - 10.09.2011

The wiki is there for a reason, and make sure you read it before you ask for help.


Re: get player score - Davz*|*Criss - 10.09.2011

Quote:
Originally Posted by G4M3Ov3r
View Post
The wiki is there for a reason, and make sure you read it before you ask for help.
Yes, Like Gameover said, Read the wiki and you might come to normal scripting and you will be able fix such problems yourself, And when you're unable to fix some problems you might post your errors in Scripting Discussions category for more help.

Thanks.