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
![Cool](images/smilies/cool.gif)
.. 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.