names on oject
#1

how to put names on oject? or like put names ingame,i have ppc trucking sever i /createcamera i need a name like 60 speed
Reply
#2

Edit:: i read it befor you changed it ...now idk what you mean
Reply
#3

How do you mean mate?

In the script like:

pawn Код:
new object;

public OnGameModeInit()
{
    object = CreateObject(...);
}
Or the actual object name like with vehicle models? EG: 400 - Landstalker.

Sorry for any mistakes, reply was wrote on a BlackBerry cell phone.
Reply
#4

one like dis
Reply
#5

ok yeah then i was right Create3DTextLabel("Label Name", 0x008080FF, x, y, z, 40.0, 0, 0);
unless you mean the textdraw at the bottom then go >>here<<
Reply
#6

do they got a thing u just add ingame?
Reply
#7

there are probably textdraw tuts somewhere ...i just played around with it till i could do it very well
like
pawn Код:
Txtdraw = TextDrawCreate(110.000000, 10.000000, "poooooooooooooooooooop");
    TextDrawBackgroundColor(Txtdraw, 0);
    TextDrawFont(Txtdraw, 1);
    TextDrawLetterSize(Txtdraw, 0.839999, 11.600002);
    TextDrawColor(Txtdraw, 0);
    TextDrawSetOutline(Txtdraw, 0);
    TextDrawSetProportional(Txtdraw, 1);
    TextDrawSetShadow(Txtdraw, 1);
    TextDrawUseBox(Txtdraw, 1);
    TextDrawBoxColor(Txtdraw, 255);
    TextDrawTextSize(Txtdraw, 677.000000, 134.000000);
then a TextDrawShowForPlayer and to get rid of it TextDrawHideForPlayer
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)