YSF - kurta999
#1

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
Reply
#2

Quote:
Originally Posted by PawnoQ
Посмотреть сообщение
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 :)
There was a bug AFAIK with SendBulletData, IDK that's already fixed in R12 or not.

Just use SetPlayerGravity(playerid, 0.008); or check YSF_Examples.pwn for examples how to use which function.
Reply
#3

thank you for the reply, anyone else knows if in R12 the SendBulletData is already fixed?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)