15.07.2011, 20:14
Fazendo ums testes pra meu prуprio uso, descobri que esta й uma forma de "streamar" a бrea pra o jogador no OnPlayerRequestClass.
pawn Код:
new vehicle = CreateVehicle(411, 2106.219970, 1782.48 8891, 200.0, 0.0, -1, -1);
SetVehicleVirtualWorld(vehicle, 1);
PutPlayerInVehicle(playerid, vehicle);
SetPlayerCameraPos(playerid,2108.316650,1784.83239 7,218.559204);
SetPlayerCameraLookAt(playerid,2106.219970,1782.48 8891,216.422012);
SetPlayerPos(playerid, 45.24,-1085.17,1.83);
SetPVarInt(playerid, "vehicleid", vehicle);
//Colocar no OnPlayerSpawn, ou funзгo de login:
DestroyVehicle(GetPVarInt(playerid, "vehicleid"));
DeletePVar(playerid, "vehicleid");