[HELP] Adding to game
#4

theres one } too much in the callback:
Код:
public OnPlayerDeath(playerid, killerid, reason){
	SendDeathMessage(killerid,playerid,reason);
	SetPlayerWantedLevel(playerid, 0);
	SetPlayerWantedLevel(killerid, 6);
	GivePlayerMoney(killerid, 15000);
	GivePlayerMoney(playerid, -5000);
	SetPlayerColor(killerid, 0xD60000FF);
	SetPlayerColor(playerid, 0xFFFFFFFF);
	SetPlayerHealth(killerid, 100);
	SetPlayerArmour(killerid, 100);
	SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
	SetPlayerScore(playerid,GetPlayerScore(playerid)-1);
	return 1;
}
and now recompile... errors gone?
Reply


Messages In This Thread
[HELP] Adding to game - by DaRkAnGeL[NBK] - 06.10.2011, 21:21
Re: [HELP] Adding to game - by Babul - 06.10.2011, 22:00
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:16
Re: [HELP] Adding to game - by Babul - 07.10.2011, 01:19
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:23
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 01:38
Re: [HELP] Adding to game - by GrimR - 07.10.2011, 01:57
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 02:03
Re: [HELP] Adding to game - by DaRkAnGeL[NBK] - 07.10.2011, 02:12

Forum Jump:


Users browsing this thread: 5 Guest(s)