ZCMD doesn't work
#1

hey everyone.

I have problem with ZCMD... I have 2 commands:

Код:
//------------------------------------------------------------------------------
CMD:register(playerid, params[])
{
	if (dini_Exists(GetFile(playerid))) return false;
	CreateRegister(playerid);
	return true;
}

CMD:login(playerid, params[])
{
   	if (IsPlayerLogged(playerid)) return false;
	CreateLogin(playerid);
	return true;
}
But in game it says: Unknown Command . PLS helpp
Reply
#2

Do you also use dcmd?
Reply
#3

no, only ZCMD
Reply
#4

return true on those "CreateLogin(playerid);" functions maybe?
Reply
#5

you want to ask if i have set true in CreateLogin ?
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
Have you tried adding print statements throughout the commands? That way you can see if what you think is being executed truly is being executed. If could be that something in the "CreateLogin" function is crashing so the "return true;" line is never hit.
Ok i try it.. i have retrun true; in CreateLogin
Reply
#7

That is the same problem with my script! :[
Reply
#8

Quote:
Originally Posted by Seven_of_Nine
Посмотреть сообщение
That is the same problem with my script! :[
let's together cry
Reply
#9

i used dcmd and same answer -> Unknown command
Reply
#10

no i am going to try it
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)