I need a bit of help here! [easy I guess]
#1

how can I put a piece of text as a string?

I've got this, but I get an error....

Quote:

weaponp = M4A1;

also I have a:

Quote:

new weaponp;

at the top...

and I have:
Код:
new primary[128];
new secondairy[128];
new extra[128];
format(primary, sizeof(primary), "%s", weaponp);
TextDrawSetString(shop4,primary);
shop4 = TextDrawCreate(259.000000, 360.000000, "AK74");
TextDrawBackgroundColor(shop4, 255);
TextDrawFont(shop4, 1);
TextDrawLetterSize(shop4, 0.500000, 1.000000);
TextDrawColor(shop4, -1);
TextDrawSetOutline(shop4, 0);
TextDrawSetProportional(shop4, 1);
TextDrawSetShadow(shop4, 1);
how can I give the string a piece of text?
Reply


Messages In This Thread
I need a bit of help here! [easy I guess] - by Baboon - 17.12.2010, 19:44
Re: I need a bit of help here! [easy I guess] - by Biesmen - 17.12.2010, 19:46
Re: I need a bit of help here! [easy I guess] - by Baboon - 17.12.2010, 19:47
Re: I need a bit of help here! [easy I guess] - by Biesmen - 17.12.2010, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)