When player disconnects
#1

well what is the function to delete a trailer (trailer[playerid])
Reply
#2

You destroy a trailer just the same way as you destroy a vehicle; using DestroyVehicle

So at OnPlayerDisconnect it would simply be: DestroyVehicle(trailer[playerid]);
Reply
#3

Quote:
Originally Posted by Mikkel_Pedersen
Посмотреть сообщение
You destroy a trailer just the same way as you destroy a vehicle; using DestroyVehicle

So at OnPlayerDisconnect it would simply be: DestroyVehicle(trailer[playerid]);
Well i did that for trucking, it deletes all trailer[playerid] if 1 person quits.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)