Weapons keep reseting
#1

Код:
	GivePlayerWeapon(playerid, PlayerInfo[playerid][cWeapon1], PlayerInfo[playerid][cAmmo1]);
	GivePlayerWeapon(playerid, PlayerInfo[playerid][cWeapon2], PlayerInfo[playerid][cAmmo2]);
I have this code in 'OnPlayerSpawn', although it gives me the weapon and then takes it straight off me.

I've been through my code like 10 times trying to figure out why this is happening but no luck. I haven't used the function ResetPlayerWeapons once in my code.
Reply
#2

Fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)