GivePlayerScore?
#1

Is there something like GivePlayerScore(playerid,1); ?
I need that
Reply
#2

no you can use it like:
Код:
if(GetPlayerScore(playerid) == 100)
means his score has to be 100 to a command or where every you place it.
Reply
#3

https://sampwiki.blast.hk/wiki/SetPlayerScore
Reply
#4

Quote:
Originally Posted by Rubennnnn
u mean:
https://sampwiki.blast.hk/wiki/GetPlayerScore
?
Reply
#5

pawn Код:
#define GivePlayerScore(playerid, score) SetPlayerScore(playerid, GetPlayerScore(playerid) + score)
Reply
#6

Mave's, or simply
Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
Reply
#7

thanks guys
Reply
#8

Quote:
Originally Posted by CrucixTM
Mave's, or simply
Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
that's just what I did in that macro?
with my macro you could use

pawn Код:
GivePlayerScore(playerid, 1);
in the code.
Reply
#9

Yeah but if he needs it like one place in his code, defining it may not be necessary.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)