Attach 3DText to The Player whene he Connect
#1

I'm just asking if it should working :
pawn Код:
public OnPlayerConnect(playerid)
{
if(PlayerInfo[playerid][pLevel] == 1)
{
label[playerid] = Create3DTextLabel("Nouveau Joueur[Lvl 1]", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
}
else if(PlayerInfo[playerid][pLevel] == 2)
{
label[playerid] = Create3DTextLabel("Nouveau Joueur[Lvl 2]", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label[playerid], playerid, 0.0, 0.0, 0.7);
}
Thanks
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)