SA-MP 0.3z R4 server update
#1

This update is for SA-MP server owners only

If updating from an existing 0.3z server: you can update simply by replacing the 'samp03svr' file on linux, or 'samp-server.exe' file on Windows, found in the 0.3z server download package.

Important: If your script uses the OnUnoccupiedVehicleUpdate callback, you will need to recompile your scripts with the latest pawn includes to use this server update.

SA-MP 0.3z R4 server

We received some reports that players might be able to use the vehicle trailer syncing in order to move vehicles around on the server without being in control of them.

- Additional sanity checks have been added to the trailer validation on the server.
- A new callback is added to identify players updating their vehicle's trailers:

pawn Код:
public OnTrailerUpdate(playerid, vehicleid);
// playerid is the player who sent a trailer update. vehicleid is the trailer being updated.
// Returning 0 to this function will stop the trailer update being sent to other players on the server. The trailer's position will still be updated internally on the server.
- The OnUnoccupiedVehicleUpdate is updated to include the new velocity of the vehicle updated.

pawn Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z);
// If your script uses this callback, you will need to update this definition and recompile your scripts to use the 0.3z-R4 server.
- Removes script HTTP debug messages left in the 0.3z-R3 server.

Downloads:

SA-MP 0.3z R4 Linux Server: http://files.sa-mp.com/samp03zsvr_R4.tar.gz
SA-MP 0.3z R4 Windows Server: http://files.sa-mp.com/samp03z_svr_R4_win32.zip
SA-MP 0.3z R4 Linux Server (1000 max player): http://files.sa-mp.com/samp03zsvr_R4-1000p.tar.gz
Reply
#2

Ty Kalcor!
Reply
#3

Thanks, fast update!

PS: Remove the ";" from the callbacks as it can confuse the newer scripters.
Reply
#4

Thanks a lot!
Reply
#5

Thanks for the update!
Reply
#6

Oh nice i recently had issues with syncing trailers with players and OnTrailerUpdate should come in handy.

Also what about adding vehicle angle to OnUnoccupiedVehicleUpdate?
Reply
#7

Thanks a lot.
Also some players use Vehicle Sync Update on vehicles drive by other users to confuse some anticheats.
Reply
#8

Awesome. Thanks Kalcor.
Reply
#9

Nice one Kalcor.
Reply
#10

Nice release Kalcor.
Reply
#11

Thanks, Release Kalcor
Reply
#12

Thanks!
Reply
#13

Thanks for the update!
Reply
#14

Good Update / Обнова хрень.
Reply
#15

I\'M LOVING THE TRAILER CALLBACK.
Reply
#16

Nice update of Unoccupied Vehicle.
Reply
#17

nice update, i like the new params for the OnUnoccupiedVehicleUpdate
Reply
#18

Nice, thanks!
Reply
#19

Thanks
Reply
#20

Nice, thank you for the updates
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)