10.11.2009, 19:59
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
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; }