settimer so easy but a bit error
#1

Код:
forward Score();

ongamemodeint
	SetTimer("Score", 30000, false); // Set a timer of 1000 miliseconds (1 second)

public Score()
{
	SetPlayerScore(playerid,GetPlayerScore(playerid)+1);
}
but i got error like this

Код:
H:\Documents and Settings\facker\Desktop\XtremePlanet\gamemodes\XS.pwn(4189) : error 017: undefined symbol "playerid"
Reply


Messages In This Thread
settimer so easy but a bit error - by cs_master - 14.05.2011, 19:59
Re: settimer so easy but a bit error - by alpha500delta - 14.05.2011, 20:01
Re: settimer so easy but a bit error - by cs_master - 14.05.2011, 20:03
Re: settimer so easy but a bit error - by alpha500delta - 14.05.2011, 20:04
Re: settimer so easy but a bit error - by cs_master - 14.05.2011, 20:05
Re: settimer so easy but a bit error - by alpha500delta - 14.05.2011, 20:06
Re: settimer so easy but a bit error - by fiki574 - 14.05.2011, 20:13
Re: settimer so easy but a bit error - by cs_master - 14.05.2011, 20:28
Re: settimer so easy but a bit error - by Spectre - 14.05.2011, 20:41
Re: settimer so easy but a bit error - by fiki574 - 14.05.2011, 20:46

Forum Jump:


Users browsing this thread: 1 Guest(s)