10.11.2009, 20:02
Doesn't look like you have strings defined:
I don't why this would only happen in a car though.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new string [128];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
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;
}