30.07.2011, 04:49
i've made an /status system using 3dtext labels but it always get bugged why does this happen?
my server has around 200-300 players it could be the reason?
im using this:
my server has around 200-300 players it could be the reason?
im using this:
pawn Code:
new Text3D: xStatus[MAX_PLAYERS];
OnPlayerConnect
Delete3DTextLabel(xStatus[playerid]);
OnPlayerSpawn
xStatus[playerid] = Create3DTextLabel(PlayerInfo[playerid][pStatus],Blue,30.0,40.0,5.0,40.0,1);
Attach3DTextLabelToPlayer(xStatus[playerid], playerid, 0.0, 0.0, 0.00);
OnPlayerCommand
Delete3DTextLabel(xStatus[playerid]);
xStatus[playerid] = Create3DTextLabel(PlayerInfo[playerid][pStatus],Blue,30.0,40.0,5.0,40.0,1);
Attach3DTextLabelToPlayer(xStatus[playerid], playerid, 0.0, 0.0, 0.00);