Create3DtextLabel
#1

Quote:

if(propid != -1)
{
new str[128];
format(str, 128, "~y~\"%s\"~n~~r~Value: ~y~$%d~n~~r~Earning: ~y~$%d~n~~r~Owner: ~y~%s", PropInfo[propid][PropName], PropInfo[propid][PropValue], PropInfo[propid][PropEarning], PropInfo[propid][PropOwner]);
GameTextForPlayer(playerid, str, 6000, 3);
}

how to create this code in to a 3DText ?
Reply
#2

Create3DTextLabel(str,color,x, y,z, drawdistance, vw, line of sight);
Reply
#3

Take a look at this: https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#4

y don't now how, if you wanna help me, help me and you will get rep +
Reply
#5

Quote:
Originally Posted by AlTy
View Post
How he doesnt know how to help you? that should be all you need.
Reply
#6

c'c'c'c'c'c''c'c
y don't now how to create...
if you wan't to help post the real code and y will know how to create.
Reply
#7

bump
Reply
#8

pawn Code:
CreateDynamic3DTextLabel("TEXT", COLOR HERE, X, Y, Z, DRAW DISTANCE, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
Woops, just realised you wanted a value.
pawn Code:
new
       dynamiclabel[128];

format(dynamiclabel, sizeof(dynamiclabel), "Value %s, Value %s or w/e", value1, value2);
Instead of "TEXT", type dynamiclabel
Reply
#9

Can't make a simple code? Seems like you don't have any script knowledge.

Try to learn the basics of scripting.
View tutorials and read SA:MP Wiki.

That would help you but only if you have potential.
Reply
#10

Quote:
Originally Posted by Jack.7331
View Post
pawn Code:
CreateDynamic3DTextLabel("TEXT", COLOR HERE, X, Y, Z, DRAW DISTANCE, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 10.0);
Woops, just realised you wanted a value.
pawn Code:
new
       dynamiclabel[128];

format(dynamiclabel, sizeof(dynamiclabel), "Value %s, Value %s or w/e", value1, value2);
Instead of "TEXT", type dynamiclabel
YOUR QUESTION WAS ANSWERED.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)