26.03.2011, 07:40
hey guys
I have this
new Text3D:AdminDuty[MAX_PLAYERS];
and lets say I have this command :
if(strcmp(cmd,"/aduty",true) == 0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
AdminDuty[playerid] = Create3DTextLabel("Admin",COLOR_RED,X, Y, Z+2.0,20.0,0);
Attach3DTextLabelToPlayer(AdminDuty[playerid],playerid,0,0,1.2);
return 1;
}
this is not the real command this is just part of it
but the Label doesnt show up
what to do ?
I have this
new Text3D:AdminDuty[MAX_PLAYERS];
and lets say I have this command :
if(strcmp(cmd,"/aduty",true) == 0)
{
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
AdminDuty[playerid] = Create3DTextLabel("Admin",COLOR_RED,X, Y, Z+2.0,20.0,0);
Attach3DTextLabelToPlayer(AdminDuty[playerid],playerid,0,0,1.2);
return 1;
}
this is not the real command this is just part of it
but the Label doesnt show up
what to do ?