17.12.2010, 19:44
how can I put a piece of text as a string?
I've got this, but I get an error....
also I have a:
at the top...
and I have:
how can I give the string a piece of text?
I've got this, but I get an error....
Quote:
weaponp = M4A1; |
Quote:
new weaponp; |
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);