If sentence ends in error:001
#1

Error message:

Код:
expected token: "-string end-", but found "-identifier-"
My code:
Код:
if((inputtext)== "Male" || (inputtext)== "Female")
{
      Register(playerid, inputtext);
}
How to fix it?

Pancake
Reply
#2

pawn Код:
if(strcmp(inputtext, "Male") || strcmp(inputtext, "Female"))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)