Posts: 142
Threads: 35
Joined: Apr 2011
Reputation:
0
strval makes it into integers
is there a function like that , that works with strings?
Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
@[GF]Sasino97, please learn what functions do before giving useless examples.
Posts: 142
Threads: 35
Joined: Apr 2011
Reputation:
0
Still in need of a help.
I want a string not numbers, to work in DIALOG_STYLE_INPUT?
like you need to type something in the dialog lets say "sa-mp" then the code would work
Posts: 67
Threads: 4
Joined: Feb 2011
Reputation:
0
You don't use "valstr" for inputtext because valstr convert a value in a string. Inputtext is a string and you can't. You can use strval: it converts a string in a value (inputtext is a string).