Rotating camera
#1

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
Reply
#2

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 ?
Reply
#3

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?
Reply
#4

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
Reply
#5

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.
Reply
#6

Ive tryed editing one to my needs but with no luck
Reply
#7

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.
Reply
#8

true could you just tell me one thing then
what does tag missmatch mean?
Reply
#9

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
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)