Take a weapon and give other one.
#1

Well,
In my gamemode the player gets a new weapon how higher his score is.
But now he have to die first before he gets hes new weapon.
How can I take the weapon and give a new weapon without he has to die first.
I am now using

ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,22,1000);

+ Whats the code for unlimited ammo?
Reply
#2

Bump (a) need this
Reply
#3

Quote:

ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,22,1000);

+ Whats the code for unlimited ammo?

Just change "1000" to "99999", like this:

GivePlayerWeapon(playerid,22,99999);

I don't think someone would lose all ammo for killing
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)