Whats the problem here?
#1

Код:
if (strcmp(cmd, "/loadfs", true) ==0 )
	{
	  if(IsPlayerConnected(playerid))
	  {
			if (PlayerInfo[playerid][pAdmin] >= 1337)
			{
        tmp = strtok(cmdtext, idx);
			  if(!strlen(tmp))
			  {
				  SendClientMessage(playerid, COLOR_LIGHTYELLOW2, "[USAGE:] /loadfs [fs name]");
				  return 1;
			  }
			  new level;
			  level = strval(tmp);
			  format(string, sizeof(string), "loadfs %s", level);
      	SendRconCommand(string);
			}
		}
		ret
Doesn't work.. Any ideas?
Reply


Messages In This Thread
Whats the problem here? - by tomnidi - 08.07.2009, 13:31
Re: Whats the problem here? - by refshal - 08.07.2009, 13:39
Re: Whats the problem here? - by tomnidi - 08.07.2009, 14:09
Re: Whats the problem here? - by refshal - 08.07.2009, 14:15
Re: Whats the problem here? - by tomnidi - 08.07.2009, 14:21
Re: Whats the problem here? - by Correlli - 08.07.2009, 14:28
Re: Whats the problem here? - by tomnidi - 08.07.2009, 14:42
Re: Whats the problem here? - by Correlli - 08.07.2009, 14:44
Re: Whats the problem here? - by Nero_3D - 08.07.2009, 15:09
Re: Whats the problem here? - by tomnidi - 08.07.2009, 15:27

Forum Jump:


Users browsing this thread: 1 Guest(s)