29.10.2011, 20:40
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:
U can clearly see how Float: s are initialised.
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];
