Client crush on Connect (Compiles without any error)
#4

pawn Код:
if(playercar[cars][car_locked]){
  vehicleLock(playercar[cars][car_id]);
}
pawn Код:
stock vehicleLock(vehicleid, lock=1)
{
    playercar[vehicleid][car_locked] = lock;
    for(new playerid; playerid < MAX_PLAYERS; playerid++)
    {
      SetVehicleParamsForPlayer(vehicleid, playerid, 0, lock);
    }
    return 1;
}
That's how I would go about it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)