08.02.2010, 22:00
The only thing I really dont understand is how to set a car to a TEAM.Help PLEASE
new copcar; // top of script for example
copcar = CreateVehicle(...); //Creates it and Returns the ID
//Check it in Onplayerstatechange...
if(newstate == 2)// Is Player the Driver..
{
if(GetPlayerVehicleID(playerid) == copcar) // Copcar Contains the ID
{
if(Team[playerid]!=4)RemovePlayerFromVehicle(playerid); // for example Teamvar and Teamnum
}
}