11.07.2015, 22:18
Quote:
hi, i have some questions regarding this plugin :)
1. It compiles fine, plugin starts fine. However when i want to use a function from the included example.pwn on my localhost server nothing happens when i e.g. try to use the setplayergravity() function. The functions/commands itself exist, cause when i enter invalid parameters it shows an error message e.g. "/mygarv needs a <gravity parameter>". But nothing happns when i enter the command. I use R12 (as adviced to use when on 0.3z) as im on 0.3z. What could cause the problem? 2. There is a function SendBulletData(); Is it possible to send specific bullets? As i suppose Minigun Bullets are behaving and causing other damage than e.g. pistol bullets? Or does the server send the bullets of the weapon the specified player is currently using? (playerid parameter) I would appreciate some help. Thank you :) |
Just use SetPlayerGravity(playerid, 0.008); or check YSF_Examples.pwn for examples how to use which function.