18.08.2010, 08:56
It has to teleport ALL players when the cmd is typed by an admin, so based on your code I suggest it's something like this?
pawn Код:
for(new i=0;i <MAX_PLAYERS;i++)
{
if(GetPlayerState(i) != PLAYER_STATE_DRIVER)
{
PutPlayerInVehicle(i, xxxx, 0); //I don't know what to fill in there, because the player has to go in car that's already there...
//SetVehiclePos(GetPlayerVehicleID(playerid), X , Y , Z);
//SetVehicleFacingAngle(GetPlayerVehicleID(playerid), Angle);
}
}

