Why does this happen?
#4

Quote:
Originally Posted by backwardsman97
What do you have under OnPlayerDeath?
I just have the stats to
Код:
SendDeathMessage(killerid, playerid, reason);
	GameTextForPlayer(playerid, "~r~Got Merked", 3000, 2);
	KillTimer(Player[playerid][TaxiTimer]);
	KillTimer(Player[playerid][HitTimer]);
	KillTimer(Player[playerid][JailCounter]);
  SetPlayerTime(playerid, worldHour, worldMinute);
  dUserSetINT(PlayerName(playerid)).("Bank",Player[playerid][Bank]);
  dUserSetINT(PlayerName(playerid)).("skin",GetPlayerSkin(playerid));
  dUserSetINT(PlayerName(playerid)).("Score",dUserINT(PlayerName(playerid)).("Score")-1);
	dUserSetINT(PlayerName(playerid)).("TimesDied",dUserINT(PlayerName(playerid)).("TimesDied")+1);
	dUserSetINT(PlayerName(playerid)).("PlayersKilled",dUserINT(PlayerName(playerid)).("PlayersKilled")+1);
	SetPlayerScore(playerid, dUserINT(PlayerName(playerid)).("Score"));
I thought having SendDeathMessage was automatic and the server did that part on it's own as in the reasons. How would an example be to code the reasons for the different weapons? Correct me if I am wrong, and I apologize if I am I just need to know what the issue is thanks in advance!
Reply


Messages In This Thread
Why does this happen? - by notec100 - 17.03.2009, 02:02
Re: Why does this happen? - by Backwardsman97 - 17.03.2009, 02:51
Re: Why does this happen? - by yezizhu - 17.03.2009, 03:05
Re: Why does this happen? - by notec100 - 17.03.2009, 03:20
Re: Why does this happen? - by matt2127 - 17.03.2009, 03:22
Re: Why does this happen? - by notec100 - 17.03.2009, 04:24
Re: Why does this happen? - by Kinetic - 17.03.2009, 04:57
Re: Why does this happen? - by notec100 - 17.03.2009, 10:00

Forum Jump:


Users browsing this thread: 2 Guest(s)