simple question
#1

what is the command to add +1 to a players score , and hwere do i put it?
Reply
#2

Quote:
Originally Posted by kennyist
what is the command to add +1 to a players score
pawn Код:
SetPlayerScore(playerid, GetPlayerScore(playerid) + 1);
Reply
#3

pawn Код:
if(strcmp("/givescore",cmdtext,true,10) == 0)
{
new score = GetPlayerScore(playerid);
SetPlayerScore(playerid,score+1);
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)