Don't send to compile
#5

Quote:
Originally Posted by JaTochNietDan
Посмотреть сообщение
It simply means that the function is used in the code before it's read by the compiler. You should define it as a stock function:

pawn Код:
stock Float:function229C(playerid, Float:arg1, Float:arg2, Float:arg3)
{
   new Float:var0 = 0.0, Float:var1 = 0.0, Float:var2 = 0.0;
   new Float:var3 = 0.0;
   GetPlayerPos(playerid, var0, var1, var2);
   var3 = floatsqroot(floatpower(floatabs(arg1 - var0), 2.0) + floatpower(floatabs(arg2 - var1), 2.0) + floatpower(floatabs(arg3 - var2), 2.0));
   return floatround(var3, 0);
}
Do not good, everything is giving me error, some have other opinions?
Reply


Messages In This Thread
Don't send to compile - by DicuD - 01.02.2011, 14:50
Re: Don't send to compile - by JaTochNietDan - 01.02.2011, 14:55
Re: Don't send to compile - by Vince - 01.02.2011, 14:57
Re: Don't send to compile - by Steven Paul - 01.02.2011, 15:02
Re: Don't send to compile - by DicuD - 01.02.2011, 15:02
Re: Don't send to compile - by JaTochNietDan - 01.02.2011, 15:16

Forum Jump:


Users browsing this thread: 1 Guest(s)