Problem with InterpolateCamera
#1

When I compile it gives me this error:

Код:
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14401) : error 017: undefined symbol "InterpolateCameraPos"
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14402) : error 017: undefined symbol "InterpolateCameraLookAt"
By defining:

Код:
#define InterpolateCameraPos
#define InterpolateCameraLookAt
I give these warnings:

Код:
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14401) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14402) : warning 215: expression has no effect
I "CAMERA_MOVE" every line and gives me this error:

Код:
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14401) : expected token: ")", but found ";"
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(14402) : expected token: ")", but found ";"
I do not understand why they do...

Sorry for my english..
Reply
#2

download latest samp development files from mainsite and use it
Reply
#3

I have !
Reply
#4

Show us the code at those lines
Reply
#5

Just update the include a_samp
Reply
#6

Код:
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(12311) : warning 215: expression has no effect
C:\Documents and Settings\Administrator\Desktop\mygamemode.pwn(12312) : warning 215: expression has no effect
Lines:
Код:
InterpolateCameraPos(playerid, 1458.5924,-1303.1316,89.8286, 1661.9861,-1302.2872,80.5298, 25000, CAMERA_MOVE);
InterpolateCameraLookAt(playerid, 1458.5924,-1303.1316,89.8286, 1661.9861,-1302.2872,80.5298, 25000, CAMERA_MOVE);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)