Need help with Y_INI
#1

At first, Hello all! I am learning Y_INI... Here is my problem:

I want to compare the inputtext with Password from file:

pawn Код:
if(inputtext[playerid] == pStats[playerid][Password])
But I want it like this:

pawn Код:
if(inputtext[playerid] == //compare with string Password from file here)
Thanks in advance !
Reply
#2

BUMP! (Sorry but I need help with this fast...)
Reply
#3

Could you be more specific? I'm not sure if I understood what you want...
Reply
#4

I want to compare inputtext with a value from a file
Reply
#5

if(strcmp(inputtext, pStats[playerid][Password]) == 0)
Reply
#6

I want to compare the inputtext with a value FROM A FILE not with a player var!
Reply
#7

PHP код:
INI_Read("your file""your password field"
Reply
#8

Quote:
Originally Posted by zombieking
Посмотреть сообщение
I want to compare the inputtext with a value FROM A FILE not with a player var!
YOu need to load the player TO LOAD the password. if the passwrod IS NOT LOADED you cannot compare it.

This forum requires that you wait 120 seconds between posts. Please try again in 45 seconds. - THis has wasted my life
Reply
#9

Never mind... I'll change to SII...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)