if(inputtext == PlayerInfo[playerid][pPass])
#1

Doesnt works for me
if(inputtext == PlayerInfo[playerid][pPass])

gdm.pwn(390) : error 033: array must be indexed (variable "inputtext")
Reply
#2

inputtext is a string to compare those two, use this:

pawn Код:
if(strcmp(PlayerInfo[playerid][pPass],inputtext , true ) == 0)
Reply
#3

Quote:
Originally Posted by PaulDinam
Посмотреть сообщение
Doesnt works for me
if(inputtext == PlayerInfo[playerid][pPass])

gdm.pwn(390) : error 033: array must be indexed (variable "inputtext")
If you are usng udb_hash then it should look like this.

PHP код:
if(udb_hash(inputtext) == PlayerInfo[playerid][pPass]) 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)