PDA

View Full Version : error 035: argument type mismatch (argument 3)


enzulikeS
06/02/2018, 08:44 PM
D:\server\gamemodes\ExtremeGame.pwn(16246) : error 035: argument type mismatch (argument 3)

Error line: InterpolateCameraLookAt(i, Step[i], "-366.2835,-1412.6638,25.7266,294.3257,-1623.6597,92.0000");

solstice_
06/02/2018, 08:52 PM
InterpolateCameraLookAt(i, Step[i], -366.2835,-1412.6638,25.7266,294.3257,-1623.6597,92.0000);

Try this

enzulikeS
06/02/2018, 08:55 PM
InterpolateCameraLookAt(i, Step[i], -366.2835,-1412.6638,25.7266,294.3257,-1623.6597,92.0000);

Try this

D:\server\gamemodes\ExtremeGame.pwn(16246) : warning 213: tag mismatch
D:\server\gamemodes\ExtremeGame.pwn(16246) : warning 213: tag mismatch

the error left, but those 2 income

solstice_
06/02/2018, 09:01 PM
InterpolateCameraLookAt(i, Step[i], -366.2835,-1412.6638,25.7266,294.3257,-1623.6597,92.0000, 10000, CAMERA_MOVE);

If it doesn't work, check http://wiki.sa-mp.com/wiki/InterpolateCameraLookAt this.

enzulikeS
06/02/2018, 09:03 PM
FIXED, thanks.

PepsiCola23
06/02/2018, 11:09 PM
how did you fix this? your tags were placed bad i think

(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT)