02.08.2010, 06:15
(
Последний раз редактировалось Kitten; 24.11.2013 в 04:49.
)
Solved
if(gTeam[playerid] != TEAM_SPEC)
{
PutPlayerInVehicle(vehicleid)
}
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
if(GetPlayerTeam(forplayerid) == TEAM_SPEC)
{
SetVehicleParamsForPlayer(vehicleid, forplayerid,0,1);
}
return 1;
}
what id do:
pawn Код:
|
public OnVehicleStreamIn(vehicleid, forplayerid)
{
if(vehicleid >= 1 && vehicleid <= 19){ // EXAMPLE (Between VIN 1 & VIN 19)
if(gteam[forplayerid]==Team_NAME){
SetVehicleParamsForPlayer(vehicleid,forplayerid,0,0);
}else{
SetVehicleParamsForPlayer(vehicleid,forplayerid,0,1);
}
}
}