[NOT SOLVED]Help Please
#2

Well when you were compiling on that one you just did there was 11 errors and now I got you down to 6 errors....

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmd, "/login", true) ==0 )
{
if(IsPlayerConnected(playerid)
{
tmppass[64];
if(gPlayerLogged[playerid] == 1)
{
SendClientMessage(playerid, WHITE, "SERVER: You are already logged in.");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, GRAD1, "USAGE: /login [password]");
return 1;
}
strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
Encrypt(tmppass);
OnPlayerLogin(playerid,tmppass);
}
return 0;
}
Reply


Messages In This Thread
[NOT SOLVED]Help Please - by Studio - 09.08.2009, 03:47
Re: Help Please - by SampStunta - 09.08.2009, 03:58
Re: Help Please - by Studio - 09.08.2009, 04:21
Re: Help Please - by SampStunta - 09.08.2009, 04:26
Re: Help Please - by Studio - 09.08.2009, 04:27
Re: Help Please - by SampStunta - 09.08.2009, 04:28
Re: Help Please - by Studio - 09.08.2009, 04:29
Re: Help Please - by SampStunta - 09.08.2009, 04:30
Re: Help Please - by Studio - 09.08.2009, 04:31
Re: Help Please - by SampStunta - 09.08.2009, 04:32

Forum Jump:


Users browsing this thread: 1 Guest(s)