Jump to content
  • 0

skin select text


Fabyx15

Question

Deci am pus eu niste skinuri in gm-ul facut de mine si le-am pus pe ganguri si cand e gang-ul de la grove .. cum fac sa arate un text deasupra skinului cu Grove ? sau apoi cand dau la Ballas .. cum dau sa scrie deasupra skinului BALLAS ??

Cine ma ajuta dau +1  :tongue:

Cea mai mare realizare:

public OnPlayerConnect(playerid)
{
	Kick(playerid);
}

 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

[pawn]new Text3D:Faction[MAX_PLAYERS];[/pawn]

[pawn]SetTimer("SkinTextUpdate", 5000, true);[/pawn]

[pawn]forward SkinTextUpdate();

public SkinTextUpdate()

{

for(new i=0;i<=MAX_PLAYERS;i++)

{

DeletePlayer3DTextLabel(i, Text3D:Faction);

if(GetPlayerSkin(playerid) == SKIN || GetPlayerSkin(playerid) == SKIN || GetPlayerSkin(playerid) == SKIN) //SKIN = Skinurile Groove

{

Text3D:Faction = Create3DTextLabel("Groove", 0x00CC00FF, 30.0, 40.0, 50.0, 40.0, 0);

Attach3DTextLabelToPlayer(Text3D:Faction, i, 0.0, 0.0, 0.35);

}

else if(GetPlayerSkin(playerid) == SKIN || GetPlayerSkin(playerid) == SKIN || GetPlayerSkin(playerid) == SKIN) //SKIN = Skinurile Ballas

{

Text3D:Faction = Create3DTextLabel("Ballas", 0xCC33CCF, 30.0, 40.0, 50.0, 40.0, 0);

Attach3DTextLabelToPlayer(Text3D:Faction, i, 0.0, 0.0, 0.35);

}

}

return 1;

}[/pawn]

E facut in graba, nu stiu daca iti va da erori sau nu, nu e testat.

Rate me :)

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.