Automatic Gate Code Problems
#1

hi again...

can u guys solve this problem of the code its been 2 days finding the solution of this errors. Hope u guys know how to solve it...

Код:
 error 021: symbol already defined: "IsPlayerInRangeOfPoint"
 error 021: symbol already defined: "GetPlayerPos"
 error 010: invalid function or declaration
 warning 203: symbol is never used: "px"
 warning 203: symbol is never used: "py"
 warning 203: symbol is never used: "pz"
the line:

pawn Код:
stock IsPlayerInRangeOfPoint(playerid, Float:radius, Float:X, Float:Y, Float:Z)
{
    new Float:px, Float:py, Float:pz;
    GetPlayerPos(playerid, px, py, pz);
    return((((px-X)*(px-X))+((py-Y)*(py-Y))+((pz-Z)*(pz-Z))) >= radius*radius);
}
Reply


Messages In This Thread
Automatic Gate Code Problems - by AK47317 - 05.11.2010, 04:58
Re: Automatic Gate Code Problems - by LarzI - 05.11.2010, 07:39
Re: Automatic Gate Code Problems - by AK47317 - 06.11.2010, 10:38
Re: Automatic Gate Code Problems - by LarzI - 06.11.2010, 10:46
Re: Automatic Gate Code Problems - by AK47317 - 06.11.2010, 10:48
Re: Automatic Gate Code Problems - by The_Moddler - 06.11.2010, 11:00
Re: Automatic Gate Code Problems - by AK47317 - 06.11.2010, 11:11
Re: Automatic Gate Code Problems - by MadeMan - 06.11.2010, 11:14

Forum Jump:


Users browsing this thread: 2 Guest(s)