05.02.2011, 21:08
hi,
on my server checkpoints are very important so id be very happy if you could help me.
The problem is that if a checkpoint has been created before a new player joins, this new player cant see the checkpoint that has been created before he joined. But the players that had already been in the server before the checkpoint was created are bale to see it.
So my question is: How would i do it like also players can see checkpoints tht had been created before their join?
I manage my checkpoints as follow...
regards...
on my server checkpoints are very important so id be very happy if you could help me.
The problem is that if a checkpoint has been created before a new player joins, this new player cant see the checkpoint that has been created before he joined. But the players that had already been in the server before the checkpoint was created are bale to see it.
So my question is: How would i do it like also players can see checkpoints tht had been created before their join?
I manage my checkpoints as follow...
pawn Код:
SetCheckpointForAll(cp1,681.3374,-463.3429,22.5705,2.0);
DisableCheckpointForAll();
stock SetCheckpointForAll(id, Float:cx, Float:cy, Float:cz, Float:csize)
{
for(new i; i != MAX_PLAYERS; i++)
{
SetPlayerCheckpoint(i, cx, cy, cz, csize);
CheckPoint[i] = id;
}
}
stock DisableCheckpointForAll()
{
for(new i; i != MAX_PLAYERS; i++)
{
DisablePlayerCheckpoint(i);
CheckPoint[i] = -1;
}
}