Help!!!!!!!!!!!!!!! error 029: invalid expression, assumed zero
#1

CMD:mylocation(playerid, params[])
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
TogglePlayerSpectating(playerid, 1);
InterpolateCameraPos(playerid, 1891.1290,1702.3219,780.2693, x, y, z, 7500, CAMERA_MOVE);
else
{
TogglePlayerSpectating(playerid, 0);
}
return 1;
}





ERROR: error 029: invalid expression, assumed zero
Reply
#2

I'm sure you are missing something. You can't just place else randomly. It goes like this:
Код:
if(a > b)
{

}
else
{

}
Reply
#3

I know bro I tried same error ............
Reply
#4

Quote:
Originally Posted by UltraScripter
Посмотреть сообщение
I know bro I tried same error ............
You're missing the point... You need to read up on what else is from.
Reply
#5

Oh ok thx
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)