how to fix this error? help Konstantinos
#1

line= GivePlayerScore(player1,-1);


error=(1926) : error 017: undefined symbol "GivePlayerScore"
Reply
#2

pawn Код:
stock GivePlayerScore(playerid,Score)
{
SetPlayerScore(playerid,GetPlayerScore(playerid)+Score);
}
Reply
#3

SetPlayerScore(playerid,-1);
But if you want GivePlayerScore then heres a function i wrote for you.
Quote:

#define GivePlayerScore(%1,%2) SetPlayerScore(%1,GetPlayerScore(%1)+%2)

put this at the top of your script
Reply
#4

thanku my bro i make you admin in my server ok plz give me your skype name
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)