SA-MP Forums Archive
Starting Camera View when joining server - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Starting Camera View when joining server (/showthread.php?tid=233591)



Starting Camera View when joining server - banner - 02.03.2011

ok, so you know when you join a server, during your login screen, character selection screen, etc, theres a camera staring out into a scenery view or some part of San Andreas? how do you change what area the camera is looking at when people are logging in and selecting their characters and stuff....like, for example...when i log in, i want my servers beginning camera to be set over ganton so people see a shot of ganton while they type their info in or select there skin. how do i do this?

Thank you all in advance


Re: Starting Camera View when joining server - Marricio - 02.03.2011

https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos


Re: Starting Camera View when joining server - banner - 02.03.2011

ok you rock, i got that figured out...now second question, is there an easier way to find out locations rather then randomly picking numbers, compiling, restarting server, loading it....hoping for the best...and then rinse and repeat if you don't like that cameras position?


Re: Starting Camera View when joining server - Dudits - 02.03.2011

Use hacking software and AirBreak to the locations you want.


Re: Starting Camera View when joining server - OKStyle - 02.03.2011

Ha-ha, don't be noob, don't use ch3ats, save position on the ground and ++ to z coord ~ 20-30 ed.


Re: Starting Camera View when joining server - Mean - 02.03.2011

Make your script to gotopos, so /gotopos x y z

Only for RCON admins.

ZCMD + SSCANF
pawn Код:
CMD:gotopos( playerid, params[ ] )
{
    if( !IsPlayerAdmin( playerid ) ) return 0;
    new Float:x, Float:y, Float:z;
    if( sscanf( params, "fff", x, y, z ) ) return SendClientMessage( playerid, 0xAAAAAA, "USAGE: /gotopos X Y Z" );
    return SetPlayerPos( playerid, x, y, z );
}



Re: Starting Camera View when joining server - Sascha - 02.03.2011

lol...
just use fsdebug filterscript... login into rcon .. /rcon loadfs fsdebug then /v maverick get into the helicopter, fly up to the position and /save...