[SOLVED]%d, s and so on help
I would like to know if I am doing it right... I tried %s and %d...
PHP Code:
Code:
CHOSE_M4A1 = You succesfully got %d! |
Re: %d, s and so on help
the problem can be here:
ItemChoise = M4A1 if ItemChoise are integer-number use %d if itemchoise are string(chars array) use %s also what is M4A1 -> ?? variable or string? if you wan't it to string do like this: new ItemChoise[] = "M4A1"; and use %s |
Re: %d, s and so on help
Doesn't this seem more appropriate:
PHP Code:
Code:
WEAPON_CHOOSE = You succesfully got %s! |
Re: %d, s and so on help
Quote:
Code:
CHOSE_DEAGLE = You succesfully got %s with Deagle!Code:
Invalid subscript(not an array or too many subscripts)PHP Code:
Code:
CHOSE_M4A1 = You succesfully got %d! |
Re: %d, s and so on help
Use my concept, but create an array for weapon names ... dunno what made me come to using get_weaponname() lol ...
|
Re: %d, s and so on help
Can you create that array? I don't quite understand you :/
|
Re: %d, s and so on help
Code:
new const PRIMARY_NAMES[][] =Code:
public mostrar_cliente(id, menu, item) |
Re: %d, s and so on help
Shouldn't I add this code
PHP Code:
And maybe this? ML language: CHOOSE_WEAPON = You have chosen %d! |
Re: %d, s and so on help
Quote:
|
Re: %d, s and so on help
Ok, thanks.
|
| All times are GMT -4. The time now is 21:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.