Create3DtextLabel - 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)
+--- Thread: Create3DtextLabel (
/showthread.php?tid=328036)
Create3DtextLabel -
3RoR - 23.03.2012
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 ?
Re: Create3DtextLabel -
new121 - 23.03.2012
Create3DTextLabel(str,color,x, y,z, drawdistance, vw, line of sight);
Re: Create3DtextLabel -
AlTy - 23.03.2012
Take a look at this:
https://sampwiki.blast.hk/wiki/Create3DTextLabel
Re: Create3DtextLabel -
3RoR - 23.03.2012
y don't now how, if you wanna help me, help me and you will get rep +
Re: Create3DtextLabel -
GNGification - 23.03.2012
Quote:
Originally Posted by AlTy
|
How he doesnt know how to help you? that should be all you need.
Re: Create3DtextLabel -
3RoR - 23.03.2012
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.
Re: Create3DtextLabel -
3RoR - 23.03.2012
bump
Re: Create3DtextLabel -
Jack.7331 - 23.03.2012
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
Re: Create3DtextLabel - Nicholas. - 23.03.2012
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.
Re: Create3DtextLabel -
Vladamir - 24.03.2012
Quote:
Originally Posted by Jack.7331
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.