AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   string, integer and float (https://forums.alliedmods.net/showthread.php?t=154473)

Conan1018 04-09-2011 05:39

string, integer and float
 
hi greetings. i want to ask 1 question. im not sure if i had to create topic for this small question.

^"%32s^" 7%d would result in "my brand new name<empty spaces>" 1234567

how do i make it show as "my brand new name"<empty spaces>1234567? (notice the double quotes position)

thanks in advance

lis_16 04-09-2011 07:02

Re: string, integer and float
 
Try:

PHP Code:

"%s\t %d" 


Conan1018 04-09-2011 07:38

Re: string, integer and float
 
nope, that will just add a 'TAB' to the end of name, it wont allign them like i want

schmurgel1983 04-09-2011 08:58

Re: string, integer and float
 
("^"%32s^" %6s %d", text, "", value)


All times are GMT -4. The time now is 20:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.