06.03.2015, 16:06
I got an custom location mapped it's loaded OnGameInit(); but when i set my camera pose location the objects won't appear while class selection but as i press spawn the objects are here ? but how to do it.
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Streamer_Update(playerid);
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
Streamer_UpdateEx(playerid,x,y,z);
SetPlayerPos(playerid,-1743.8019,994.2507,28.6739);
SetPlayerFacingAngle(playerid,92.5084);
GameTextForPlayer(playerid,"~Y~Gold Finder",3000,3);
SetPlayerCameraPos(playerid, -1747.021362,994.213073,29.353200);
SetPlayerCameraLookAt(playerid, -1747.021362,994.213073,29.353200);