05.06.2011, 22:12
OnPlayerSpawn is called when surprise, surprise, player spawns. When player dies OnPlayerDeath is called.
Also I don't think you need to reset weapons since weapons are reseted on death. And you can just add GivePlayerMoney(playerid, -x); OnPlayerDeath
Also I don't think you need to reset weapons since weapons are reseted on death. And you can just add GivePlayerMoney(playerid, -x); OnPlayerDeath