Help on playerspawn!!
#1

i know all about on playerspawn but, what do you call it well a player dies and spawns? - i wanted to make the player loose cash + weapons on spawn after death in other words ResetPlayerWeapons and giveplayermoney
Help will be be appreciated

Thanks
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)