get player score
#1

How to get player score?
+1 score?
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerScore
Reply
#3

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

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

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

ok ty guys
Reply
#7

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)