Some stupid errors, need a help
#7

It depends on what you want to do.

Use either:

pawn Код:
forward OnPlayerLogin(playerid, password[]);
public OnPlayerLogin(playerid, password[])
or:

pawn Код:
forward OnPlayerLogin(playerid, uid);
public OnPlayerLogin(playerid, uid)
However, in some cases you enter as second parameter string and somewhere else an integer. What do you want? It must be one of them.

In this line "if(strcmp(keystring, uid, true) == 0)" you check if an integer is equal to a string and that's why it gives you an error.

Was uid supposed to be the "password" of the player?
Reply


Messages In This Thread
Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 14:32
Re : Some stupid errors, need a help - by Chadi - 06.07.2013, 14:49
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 15:16
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 17:28
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 17:30
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 17:44
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 17:49
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 18:17
Re: Some stupid errors, need a help - by Konstantinos - 06.07.2013, 19:34
Re: Some stupid errors, need a help - by Yordan_Kronos - 06.07.2013, 21:28

Forum Jump:


Users browsing this thread: 3 Guest(s)