A Problem in OnPlayerDeath
#1

Ok guys im a scripter begginer i was working on OnPlayerDeath but when i tested with a friend it works but when i blow up in a car my samp server closes and our samp crashes does anyone know? i leave my things i done in playerdeath or if you guys give me a link to look it would help me alot
ima begginer so yea if you see the OnPlayerDeath you'll see just simple things

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendClientMessage(killerid,0xFF9900AA,"You killed %s, Well Done");
	SendClientMessage(killerid,0xFF9900AA,"You Got A Wanted lvl And Some Money From The Victim!");
	SendClientMessage(playerid,0x4B00B0AA,"You been killed by %s");
	SendClientMessage(playerid,0x4B00B0AA,"You Been Healed By The Hospital, You Medicals Fees Are 4000.");
	SendClientMessage(playerid,0x4B00B0AA,"You Lost Some Money When %s Was Shooting You");
	SetPlayerWantedLevel(killerid,4);
	SetPlayerColor(killerid,0xf73219ff);
	GivePlayerMoney(playerid,-22653);
	GivePlayerMoney(killerid,18232);
	SendDeathMessage(killerid, playerid, reason);
	return 1;
}
Reply


Messages In This Thread
A Problem in OnPlayerDeath - by [Bm]rap45 - 10.11.2009, 19:59
Re: A Problem in OnPlayerDeath - by BP13 - 10.11.2009, 20:02
Re: A Problem in OnPlayerDeath - by [Bm]rap45 - 10.11.2009, 20:28
Re: A Problem in OnPlayerDeath - by BP13 - 10.11.2009, 23:10
Re: A Problem in OnPlayerDeath - by Daren_Jacobson - 11.11.2009, 01:37
Re: A Problem in OnPlayerDeath - by [Bm]rap45 - 12.11.2009, 02:01
Re: A Problem in OnPlayerDeath - by Think - 12.11.2009, 07:44
Re: A Problem in OnPlayerDeath - by [Bm]rap45 - 13.11.2009, 02:11

Forum Jump:


Users browsing this thread: 3 Guest(s)