03.11.2009, 15:47
what is the command to add +1 to a players score , and hwere do i put it?
Originally Posted by kennyist
what is the command to add +1 to a players score
|
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
if(strcmp("/givescore",cmdtext,true,10) == 0)
{
new score = GetPlayerScore(playerid);
SetPlayerScore(playerid,score+1);
return 1;
}