Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Fixed nightvison bug (?)
Thats the one thing which is not, I'll post a new changelog when R10 will be released as stable. The plugin still needs updating on new version release, but I'll add server.cfg option "ysf_skipversioncheck" to skip version check and will work almost with every version where no changes in structures.
I tried to reset everytime player weapon to 0 and send this for other player, but don't work. Anyway very easy to fix this shit bug client side, IDK why Kye didn't fixed this before.
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
16.10.2014, 10:52
(
Последний раз редактировалось kurta999; 16.10.2014 в 15:34.
)
I will check how vehicle spawning works, if possible, then it will be in r10.
E: This is impossible, sorry.
Posts: 1,420
Threads: 65
Joined: Jan 2009
Reputation:
0
Does "OnServerMessage" handle returns?
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
That's impossible.
There are still bugs in new pickup system, but i'm on it.
New functions in last days:
- Added GetPlayerLastSyncedVehicleID, GetPlayerLastSyncedTrailerID
(This will return last synced vehicle from INCAR_SYNC_DATA, for unoccupied vehicle use OnUnoccupiedVehicleUpdate)
You can easily write anti-car flooder/slapper with these functions
- Added SendInvalidPlayerSync(playerid) - raksamp versions will crash
- Added OnPlayerStatsAndWeaponsUpdate() callback, which will be called with STATS_UPDATE & WEAPONS_UPDATE packet. Get player drunk/weapon ammo/target/money will be the best accurate under this callback.
Posts: 134
Threads: 10
Joined: Nov 2011
Reputation:
0
YAY!!
OnPlayerStatsAndWeaponsUpdate() with this we can make an efficiently anti-weapons hacks.
The problem is if SA-MP will be updated.. you will update the all functions addresses?
Posts: 913
Threads: 70
Joined: Apr 2009
Reputation:
0
Update these are very easy, i should create a totorial. But now almost everything updated automaticly
Posts: 25
Threads: 1
Joined: Oct 2014
its possible to add a function like this?
pawn Code:
SetPlayerDeathTimeout(playerid, time);
or something?
this will keep the player dead
without spawn again for certain time, example 10 seconds...