OnPlayerDeath Problem?
#1

Hi all. I created this for OnPlayerDeath callback

Код:
LaimejoKova(killerid);
And when i kill something I have crash ,kick.

Function stock:

Код:
stock LaimejoKova(playerid)
{
	if(ArDalyvaujaBokse[playerid])
	{
		zInfo[playerid][Atlyginimas]+=200;
		ArDalyvaujaBokse[playerid]=false;
		ArVykstaBoksas=0;
		Atsiradimas=0;
		new msg[88];
		format(msg,88, "[SERVERIS]: {E0E0E0}Baigėsi kova bokso klube laimėtojas %s" ,PlayerName(playerid) );
		SendClientMessageToAll(0xFF80C0FF,msg);
		GameTextForPlayer(playerid,"g~Laimėjote kova~n~~w~Prie atlyginimo prideta ~g~200 Lt", 5000, 5);
		SetPlayerHealth(playerid,100.0);
	}
}
I know I do something wrong ?
Reply


Messages In This Thread
OnPlayerDeath Problem? - by Montis. - 14.02.2012, 14:15
Re: OnPlayerDeath Problem? - by Montis. - 14.02.2012, 14:37
Re: OnPlayerDeath Problem? - by Fires - 14.02.2012, 14:40
Re: OnPlayerDeath Problem? - by Montis. - 14.02.2012, 14:51
Re: OnPlayerDeath Problem? - by System64 - 14.02.2012, 15:08
Re: OnPlayerDeath Problem? - by Montis. - 14.02.2012, 15:17
Re: OnPlayerDeath Problem? - by System64 - 14.02.2012, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)