Scripting problem [help with attach3DTextLabelToPlayer]
#1

I have made this little filterscript so that i can have ''World Wide Roleplay Server Owner'' above my players head for others to see. It works fine but i just recently found out that one other player(not sure if any other players have it but its usually only one) in the server [usually ID 4] has the text above there head aswell. How can i make it so it only shows above my head?


This is what ive used so far:

Код HTML:
public OnPlayerCommandText(playerid, cmdtext[])

	if (strcmp("/soj2968", cmdtext, true, 10) == 0)
{
    new Text3D:label = Create3DTextLabel("World Wide Roleplay Server Owner", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
    Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.5);
    return 1;
}
EDIT: where can i get these color codes(0x008080FF) ? The only ones i can find are in this format(#FF0000) which for some reason dont change the message color in pawn.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)