IsPlayerInRangeOfPoint
#4

can you please put printf's between a few important lines like creating the objects and checking the is player in point value and double check you did everything correctly?

and how do you initialise you
enum <name>
{
X,Y,Z
}

or
enum <name>
{
Float:X,Float:Y,Float:Z
}

and the
new Objects[amount][<name>];
or
new Float:Objects[amount][<name>];
because this tag use does make sense... if used wrong you get wrong results, it's easy as that


here is a snippet from my gamemode:

pawn Код:
enum nVehicleInfo
{
    nID,
    nColor[2],
    nComponent[14],
    nPaintjob
}

enum gMaxVehiclesE
{
    zero[nVehicleInfo],
    one[nVehicleInfo]
}

enum GNUM
{
    Exp,
    Admin,
    Vip,
    SpecialExpire,
    SpecialUser,
    Kills,
    Deaths,
    Respect,
    Sucides,
    Bank,
    Logged,
    Registered,
    UID,
    CzasGry,
    CzasTeraz,
    CzasStart,
    BanExpire,
    Bans,
    Kicks,
    Warns,
    PlayerVeh,
    PlayerInfoTimer,
   
    VehInfo[gMaxVehiclesE],
   
    Float:DX,
    Float:DY,
    Float:DZ,
   
    NickName[MAX_PLAYER_NAME],
    AuthCode[64],
    Email[92],
    IP[24]
}

new
    Global[MAX_PLAYERS][GNUM];
U can clearly see how Float: s are initialised.
Reply


Messages In This Thread
IsPlayerInRangeOfPoint - by Yvax - 29.10.2011, 20:18
Re: IsPlayerInRangeOfPoint - by Gamer_Z - 29.10.2011, 20:21
Re: IsPlayerInRangeOfPoint - by Yvax - 29.10.2011, 20:34
Re: IsPlayerInRangeOfPoint - by Gamer_Z - 29.10.2011, 20:40
Re: IsPlayerInRangeOfPoint - by Yvax - 29.10.2011, 20:45
Re: IsPlayerInRangeOfPoint - by Gamer_Z - 29.10.2011, 20:46
Re: IsPlayerInRangeOfPoint - by Yvax - 29.10.2011, 20:51
Re: IsPlayerInRangeOfPoint - by Gamer_Z - 29.10.2011, 21:02

Forum Jump:


Users browsing this thread: 1 Guest(s)