SA-MP Forums Archive
I'm wondering .. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I'm wondering .. (/showthread.php?tid=98367)



I'm wondering .. - ded - 20.09.2009

I have just come back from playing GamerX' 0.3 test server ... it's good.

During playing I saw some guy, he was a "Trusted player" .. I knew this because he had it above his head .. what is this? Does someone have some screens/explanations as to what it is .. 3D label maybe?

It was above his nametag.


Re: I'm wondering .. - brett7 - 20.09.2009

its a player who has played for a certain amount of time and is deamed trusted, the text sounds like a 3d label


Re: I'm wondering .. - [NYRP]Mike. - 20.09.2009

Yes' it would be a 3D Label, Use the Wiki to find out more https://sampwiki.blast.hk/wiki/Category:Added_in_0.3


Re: I'm wondering .. - ded - 20.09.2009

Ok cool, had a look on the Wiki. Just wondering how I could do this, something similar.

Would I have to use CreatePlayer3DTextLabel .. or Create3DTextLabel and then attach it to a player using Attach3DTextLabelToPlayer.


Re: I'm wondering .. - _Vortex - 20.09.2009

Quote:
Originally Posted by » Pawnst★r «
Ok cool, had a look on the Wiki. Just wondering how I could do this, something similar.

Would I have to use CreatePlayer3DTextLabel .. or Create3DTextLabel and then attach it to a player using Attach3DTextLabelToPlayer.
I just had an awesome idea.. If you have a user file saving system.. if they're level 1 and up, when the player connects/logs in, a 3d lable is created/attached to the player saying "Admin" or something :P

Thanks for remindeing me of the 3D lables :P


Re: I'm wondering .. - ded - 20.09.2009

Quote:
Originally Posted by [B
Vortex ]
Quote:
Originally Posted by » Pawnst★r «
Ok cool, had a look on the Wiki. Just wondering how I could do this, something similar.

Would I have to use CreatePlayer3DTextLabel .. or Create3DTextLabel and then attach it to a player using Attach3DTextLabelToPlayer.
I just had an awesome idea.. If you have a user file saving system.. if they're level 1 and up, when the player connects/logs in, a 3d lable is created/attached to the player saying "Admin" or something :P

Thanks for remindeing me of the 3D lables :P
Lmao, that's what I've been working on xDD

I started off with owner (133 .. here is my code:

pawn Код:
if(PlayerInfo[playerid][Level] == 1338)
    {
    new Text3D:Management3D;
    new Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
    Management3D = Create3DTextLabel("Management", MANAGEMENT, X, Y, Z, 40.0, -1, 0);
        Attach3DTextLabelToPlayer(Management3D,playerid,X, Y, Z);
        return 1;
    }
I put it under OnPlayerRequestSpawn sicne that way it will only be created & attached once.

I'm new to 3D Labels so if this code is wrong (haven't tested yet just about to) let me know.


Re: I'm wondering .. - [NYRP]Mike. - 20.09.2009

Seems' fine to me, Hope it works.

-Mike.


Re: I'm wondering .. - ded - 20.09.2009

Quote:
Originally Posted by [NYRP
Mike. ]
Seems' fine to me, Hope it works.

-Mike.
Well I can't see it .. but then, I'm not supposed to am I? I'm trying to find someone with 0.3 installed to help me test but hardly anyone has 0.3


Re: I'm wondering .. - [NYRP]Mike. - 20.09.2009

Give me the server IP' i'll come and look

-Mike.


Re: I'm wondering .. - _Vortex - 20.09.2009

Quote:
Originally Posted by » Pawnst★r «
Quote:
Originally Posted by [NYRP
Mike. ]
Seems' fine to me, Hope it works.

-Mike.
Well I can't see it .. but then, I'm not supposed to am I? I'm trying to find someone with 0.3 installed to help me test but hardly anyone has 0.3
PMd.