[Help] Accounts Problem .ini
#5

Quote:

if(strcmp(cmd, "/changepass", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(gPlayerLogged[playerid] == 0)
{
SendClientMessage(playerid, COLOR_GREY, " You need to login first.");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " This feature is comming up on next release");
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /changepass [password]");
return 1;
}
strmid(PlayerInfo[playerid][pPass], tmp, 0, strlen(cmdtext), 255);
OnPlayerUpdate(playerid);
SendClientMessage(playerid, COLOR_YELLOW, " Password has been changed successfuly");
}
return 1;
}

here is it
Reply


Messages In This Thread
[Help] Accounts Problem .ini - by Lumixa - 26.11.2012, 12:25
Re: [Help] Accounts Problem .ini - by iTzZh - 26.11.2012, 13:30
Re: [Help] Accounts Problem .ini - by Lumixa - 26.11.2012, 14:13
Re: [Help] Accounts Problem .ini - by Elysian` - 26.11.2012, 14:14
Re: [Help] Accounts Problem .ini - by Lumixa - 26.11.2012, 14:15

Forum Jump:


Users browsing this thread: 3 Guest(s)