07.08.2018, 10:14
Well making an "unlimited" number of something isn't technically possible in SA:MP, there's a trick to make "unlimited" vehicles and it goes something like this
OnPlayerConnect
OnPlayerDisconnect
EDIT: If u wanted players to have unlimited number of vehicles that's an another story ( Like they can purchase 500 cars or something like that )
OnPlayerConnect
PHP код:
//So here u check if player has a vehicle and spawn it, something like this?
if(PlayerInfo[pCar1] == Whatever)
{
CreateVehicle...
}
PHP код:
// So here u again check if player has a vehicle
if(PlayerInfo[pCar1] == Whatever)
{
DestroyVehicle...
}

