Rotating camera - 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: Rotating camera (
/showthread.php?tid=238890)
Rotating camera -
Snowman12 - 12.03.2011
this is ment to make the camera rotate by the camera just stays still
pawn Код:
SetPlayerCameraPos(playerid,2178.0398,-1645.7175,15.1080);
SetPlayerCameraLookAt(playerid,2165.1697,-1637.3280,14.2398);
GetPlayerCameraPos(playerid, pos[0], pos[1], pos[2]);
SetPlayerCameraPos(playerid, pos[0], pos[1]+0.01, pos[2]);
SetTimerEx("SetPlayerCameraPos", 1, true,"i", playerid);
i have changed these lines because it was saying define i
pawn Код:
SetPlayerCameraPos(playerid,2178.0398,-1645.7175,15.1080);
SetPlayerCameraLookAt(playerid,2165.1697,-1637.3280,14.2398);
I have no idea why its not moving but could anyone please help me?
THIS IS NOT FOR A SPAWNING PLAYER ITS TO MOVE AROUND THE CITY AS THE PLAYER TYPES IN HIS/HER PASSWORD
Re: Rotating camera -
Stigg - 12.03.2011
Have you seen this:
http://forum.sa-mp.com/showthread.ph...lass+selection
Or this:
http://forum.sa-mp.com/showthread.ph...lass+selection
It could teach you how perhaps ?
Re: Rotating camera -
Snowman12 - 12.03.2011
yes ive looked at these but i dont know how to just make it turn around the city or does this make it just turn around a city if i edit it?
Re: Rotating camera -
Snowman12 - 12.03.2011
this is all about spawn angles and i cant just add angles to player files so i need to make this but with no player nvoled its just to move around the city while the player types in there password
Re: Rotating camera -
Stigg - 12.03.2011
Quote:
Originally Posted by Snowman12
this is all about spawn angles and i cant just add angles to player files so i need to make this but with no player nvoled its just to move around the city while the player types in there password
|
Both of these script's can easily be edited to your choice of location.
Re: Rotating camera -
Snowman12 - 12.03.2011
Ive tryed editing one to my needs but with no luck
Re: Rotating camera -
Stigg - 12.03.2011
Quote:
Originally Posted by Snowman12
Ive tryed editing one to my needs but with no luck
|
You'll have to keep trying and testing then m8, it's the the only way you will learn.
Re: Rotating camera -
Snowman12 - 12.03.2011
true could you just tell me one thing then
what does tag missmatch mean?
Re: Rotating camera -
Stigg - 12.03.2011
It means something like the index's tag matches or dont match.
Hence 'tag mismatch warning:'
You can read all about scripting tags here:
https://sampwiki.blast.hk/wiki/Scripting:tags
Re: Rotating camera -
Snowman12 - 12.03.2011
mate thanks for telling me iwont get any help because i manged to edit it sucessfully and quicly as i made som edits alread anyway thanks for not telling me that was the best thing anyone could have done

now i understand that if[***][***] +< * can just be removed with no complications imma try to stary away from forums because i seem to learn better thanks