3D Text Above players head if hes under level 4
#4

Код:
public OnPlayerConnect 
{
    for(new i = 0; i < MAX_PLAYERS; i++);
    if(pLevel[i] < 5);
    {
         new Text3D:label = Create3DTextLabel("I am a newbie. (Level: %s) ",pLevel[i] , 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
         Attach3DTextLabelToPlayer(label, i, 0.0, 0.0, 0.7);
         return 1;
    } 
return 1;
}
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
Something like that (made on phone so expect mistakes)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)