Posts: 156
Threads: 0
Joined: Mar 2008
Reputation:
0
check is a string so you must format ti the right way:
public Test(playerid, check[])
Posts: 1,072
Threads: 25
Joined: Jun 2007
Reputation:
0
Oke done that, next question:
How to make a integer out of a string?
I want to make a integer out of check[].
Posts: 1,072
Threads: 25
Joined: Jun 2007
Reputation:
0
strval is when you need to convert a integer in a string right?
Posts: 1,072
Threads: 25
Joined: Jun 2007
Reputation:
0
Thanks, was confused with valstr.
Thanks again.
Posts: 1,293
Threads: 6
Joined: Jul 2008
Reputation:
0
Now you've confused me, i'll have to look up valstr!
Posts: 1,072
Threads: 25
Joined: Jun 2007
Reputation:
0
valstr can be used to convert an integer value to a string.
strval can be used to convert a string to an integer.