Need a little advice.
#1

Ok since i have now GetPlayerWeaponData at OnPlayerDeath, when i just simply do GivePlayerWeapon
under OnPlayerSpawn(or any other methods like at AddPlayerClass),
the player respawns with double the ammo he had before(i know its logical)
GivePlayerWeapon doesnt works at OnPlayerConnect anymore for some reason(i remeber it worked at 0.3a)
So i need some ideas how to give the player weapons that he wont become when
he respawns only the weapons that getplayerweapondata stored at players death.
Ive already tryed SetSpawnInfo with weapons at OnPlayerRequestClass and
SetSpawnInfo without weapons under onplayerdeath but no sussces.

I hope you guys catch me, if not i will tell this straight:

Player goes on the server, recives some weapons like at onplayerconnect(he doesnt respawns with them again)
he dies, here comes GetPlayerWeaponData, playerrespawns, gets the weps from getplayerweapondata


Please need some good ideas how to make this.
Regards.
Reply


Messages In This Thread
Need a little advice. - by OldDirtyBastard - 04.11.2010, 14:59
Re: Need a little advice. - by Welsh - 04.11.2010, 17:58
Re: Need a little advice. - by Miguel - 04.11.2010, 18:03
Re: Need a little advice. - by OldDirtyBastard - 04.11.2010, 18:30
Re: Need a little advice. - by The_Moddler - 04.11.2010, 18:33
Re: Need a little advice. - by OldDirtyBastard - 04.11.2010, 18:45
Re: Need a little advice. - by The_Moddler - 04.11.2010, 18:51

Forum Jump:


Users browsing this thread: 3 Guest(s)