Strcmp
#7

Quote:
Originally Posted by SickAttack
View Post
As I said before, use my code to fix yours or debug your script and provide information from it - that's the least you can do. Still, I assume "DB[playerid][Password]" is null and that is making the function return always 0.
Well yeah that's true I just checked it out, take a look:
PHP Code:
CMD:pw(playerid,params[]){
format(String,sizeof(String),"PW: %s",DB[playerid][Password]);
MSG(playerid,-1,String);
return 
1;} 
and when I was IG and tried to use it the return was "PW: " without any password string, how can I fix it?
Reply


Messages In This Thread
Strcmp - by Lirbo - 22.07.2015, 00:16
Re: Strcmp - by SickAttack - 22.07.2015, 00:50
Re: Strcmp - by Lirbo - 22.07.2015, 01:38
Re: Strcmp - by SickAttack - 22.07.2015, 01:44
Re: Strcmp - by Lirbo - 22.07.2015, 02:18
Re: Strcmp - by SickAttack - 22.07.2015, 02:30
Re: Strcmp - by Lirbo - 22.07.2015, 02:50
Re: Strcmp - by SickAttack - 22.07.2015, 03:02

Forum Jump:


Users browsing this thread: 4 Guest(s)