Car Help !
#1

I have a small doubt
i have a vehicle ownership system and have more than 500 vehicles in my server how to make it despawned when the respective owner of a vehicle is offline ? cuz i dont want to make much traffic in my server

Thnx
Reply
#2

Something like under OnPlayerDisconnect
PHP код:
if(PlayerInfo[playerid][Vehicle] == 1)
{
   
DestroyVehicle(vehicled);

This is just an example to give you some ideas
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)