SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 28/02/2010, 01:51 AM   #1
bartje01
High-roller
 
Join Date: Jan 2009
Posts: 1,438
Reputation: 6
Default 3dtextlabel

Hey guys. I wanna make a admin cmd that when you do /tl (playerid) (grove), you will get that above your name.
But I want to learn about 3etext label. can someone send me a link?
__________________
Please vote!:

http://top100ragezone.com/index.php?do=votes&id=5454
bartje01 is offline  
Old 28/02/2010, 02:09 AM   #2
Miguel
High-roller
 
Miguel's Avatar
 
Join Date: Dec 2009
Posts: 1,581
Reputation: 23
Default Re: 3dtextlabel

pawn Code:
new Text3D:ThreeD[MAX_PLAYERS];

pawn Code:
public OnPlayerConnect(playerid)
{
  ThreeD[playerid] = Create3DTextLabel("I'm a groove member", COLOR, 0.0, 0.0, 0.0, 0.0, 0, 0); // change COLOR for the real color and "i'm a..." for your text
  return 1;
}

pawn Code:
public OnPlayerDisconnect(playerid)
{
  Delete3DTextLabel(ThreeD[playerid])
  return 1;
}

pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp(cmdtext, "/command", true) == 0) //
  {
    Attach3DTextLabelToPlayer(ThreeD[playerid], playerid, 0.0, 0.0, 1); // offset
    return 1;
  }
  return 0;
}
Miguel is offline  
Old 28/02/2010, 02:36 AM   #3
bartje01
High-roller
 
Join Date: Jan 2009
Posts: 1,438
Reputation: 6
Default Re: 3dtextlabel

Thanks . but I want that that I can do it with rcon admin
like /grove (playerid)
__________________
Please vote!:

http://top100ragezone.com/index.php?do=votes&id=5454
bartje01 is offline  
Old 28/02/2010, 08:50 AM   #4
bartje01
High-roller
 
Join Date: Jan 2009
Posts: 1,438
Reputation: 6
Default Re: 3dtextlabel

anyone?
__________________
Please vote!:

http://top100ragezone.com/index.php?do=votes&id=5454
bartje01 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
3dtextlabel lag r9x Scripting Help 2 17/03/2012 11:44 AM
Help 3DTextLabel Ro[X]y Help Archive 5 12/03/2010 07:16 PM
3dtextlabel for a car adytzu32 Help Archive 5 02/02/2010 05:33 PM
Help with 3DTextLabel Laconcha Help Archive 1 20/01/2010 04:03 PM
3DTextLabel help? (.Aztec); Help Archive 0 29/10/2009 05:46 PM


All times are GMT. The time now is 10:49 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.