Posts: 267
Threads: 80
Joined: May 2012
Reputation:
0
Do you know how to make a /rpname [Firstname_Lastname] command
I mean if we do /rpname Ryan_Petersons then it Attachesa3DTextLabelToPlayer of "Ryan_Petersons", till he gets offline? If you guys know that how to make this command then make me it, i hope it would take 1 min or 2 mins
Posts: 267
Threads: 80
Joined: May 2012
Reputation:
0
Can you make it fast? and post it here fastly?
Posts: 267
Threads: 80
Joined: May 2012
Reputation:
0
LOL Not this, I mean if we do /rpname Ryan_Petersons then it Attachesa3DTextLabelToPlayer of "Ryan_Petersons", till he gets offline?
Posts: 790
Threads: 7
Joined: Mar 2008
Reputation:
0
Create a variable for a text label, like: new Text3D:Label[MAX_PLAYERS];
Then when he connects you create a label, with some random text at location 0.0, 0.0, 0.0
Like: Label[playerid] = Create3DTextLabel(...);
When the players uses the command you update the text to the one that was in the command and attach it to the player.
Attach3DTextLabelToPlayer and Update3DTextLabelText
When the player disconnects you just Delete3DTextLabel(Label[playerid]);
EDIT: What the guy above me said
Posts: 267
Threads: 80
Joined: May 2012
Reputation:
0
RoXor, when i go ingame and i type rpname it says "You have resigned the job".
Posts: 790
Threads: 7
Joined: Mar 2008
Reputation:
0
Short answer, that means you have another command called rpname or something.. Otherwise your comment makes no sense at all, but if you actually TRIED solving it yourself. You would search your script for that message and see WHY it comes up.
Posts: 267
Threads: 80
Joined: May 2012
Reputation:
0
No there is no command saved as rpname