whats wrong with this
#3

lol'd
Quote:

SetTimerEx("SetPlayerCameraPos, 1, 9999, i, playerid);

You forgot a " ater 'Pos'., so
pawn Код:
SetTimerEx("SetPlayerCameraPos", 1, 9999, i, playerid);
and the "i" must be in quotes too

pawn Код:
SetTimerEx("SetPlayerCameraPos", 1, 9999, "i", playerid);
So:

pawn Код:
SetPlayerCameraPos(i,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, 9999, "i", playerid);
Try that, and next time, please show us which line gave the errors

EDIT:
SetTimerEx is wrong used.
Quote:

(funcname[], interval, repeating, const format[], {Float,_}:...)

You have: SetTimerEx(~, 1, 9999, ~)

repeating as 9999? it's OR 1/true, OR 0/false

So it should be probably
pawn Код:
SetTimerEx("SetPlayerCameraPos", 9999, true, "i", playerid);
Reply


Messages In This Thread
whats wrong with this - by Snowman12 - 12.03.2011, 14:20
Re: whats wrong with this - by HyperZ - 12.03.2011, 14:26
Re: whats wrong with this - by Kwarde - 12.03.2011, 14:30
Re: whats wrong with this - by Snowman12 - 12.03.2011, 14:35
Re: whats wrong with this - by Kwarde - 12.03.2011, 14:38
Re: whats wrong with this - by Snowman12 - 12.03.2011, 14:40
Re: whats wrong with this - by Snowman12 - 12.03.2011, 14:49
Re: whats wrong with this - by Snowman12 - 12.03.2011, 14:52

Forum Jump:


Users browsing this thread: 1 Guest(s)