Posts: 142
Threads: 34
Joined: Oct 2007
Reputation:
0
is the flamethrower synced?
So I like to do when a player has 1000 flamethorwer kills he done an achievement.
When this isn't synced, how I can do that this work with explosions?
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
For the flamethrower kills:
Use GetPlayerWeapon in OnPlayerDeath to detect if the killer used the flamethrower, and if yes, increase a variable for him.
For an example on how to assign explosions to players, check my Bomber FS (The comment on top and the OnBombExplode function. It uses PVars, you would have to create a CreateExplosionEx function, that creates the explosion and calls the OnBombExplode stuff)
Posts: 724
Threads: 62
Joined: Dec 2008
Reputation:
0
The flamethrower is synced.