Set car to team?
#1

The only thing I really dont understand is how to set a car to a TEAM.Help PLEASE
Reply
#2

Bump
Reply
#3

pawn Код:
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
}
}
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)