Invalid expression, assumed zero
#2

Probably this line is causing error:

Quote:

if(udb_hash(inputtext) == PlayerInfo[playerid][PASSWORD])

You have to use strcmp to compare strings.

https://sampwiki.blast.hk/wiki/Strcmp


Also, you can't use "else" twice. There is only one "if". And you have too much closing brackets.
Reply


Messages In This Thread
Invalid expression, assumed zero - by Hunud - 09.04.2017, 18:49
Re: Invalid expression, assumed zero - by raydx - 09.04.2017, 18:57
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 19:08
Re: Invalid expression, assumed zero - by Unrea1 - 09.04.2017, 19:13
Re: Invalid expression, assumed zero - by Bwandon - 09.04.2017, 19:25
Re: Invalid expression, assumed zero - by khRamin78 - 09.04.2017, 19:35
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 19:52
Re: Invalid expression, assumed zero - by khRamin78 - 09.04.2017, 19:58
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 20:03
Re: Invalid expression, assumed zero - by Hunud - 09.04.2017, 20:22

Forum Jump:


Users browsing this thread: 1 Guest(s)