command does not work anymore.
#4

Quote:
Originally Posted by FOTIS6
Посмотреть сообщение
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new idx, cmd[256];
	cmd = strtok(cmdtext, idx);
	
	#if defined German
	if(strcmp("/feuer", cmd, true) == 0)
	#else
	if(strcmp("/fire", cmd, true) == 0)
	#endif
	{
		if(PlayerInfo[playerid][pAdmin] >= 2)
		{
  			new Float:x, Float:y, Float:z, Float:a;
	    	        GetXYInFrontOfPlayer(playerid, x, y, z, a, 2.5);
	    	        CreateFire(x, y, z);
			return 1;
		}
		else return SendClientMessage(playerid, 0xFF0000FF, "Error: You need to be admin level 3 to use this command");
	}
	
	return 0;
}
now i get this ingame Error: You need to be admin level 3 to use this but im level 6 Admin
Reply


Messages In This Thread
command does not work anymore. - by IndependentGaming - 26.02.2015, 14:06
Re: command does not work anymore. - by IndependentGaming - 26.02.2015, 15:46
Re: command does not work anymore. - by FOTIS6 - 26.02.2015, 15:59
Re: command does not work anymore. - by IndependentGaming - 26.02.2015, 16:03
Re: command does not work anymore. - by CalvinC - 26.02.2015, 16:08
Re: command does not work anymore. - by IndependentGaming - 26.02.2015, 16:13
Re: command does not work anymore. - by CalvinC - 26.02.2015, 16:35
Re: command does not work anymore. - by IndependentGaming - 26.02.2015, 17:05
Re: command does not work anymore. - by FOTIS6 - 26.02.2015, 17:07
Re: command does not work anymore. - by IndependentGaming - 26.02.2015, 17:10

Forum Jump:


Users browsing this thread: 1 Guest(s)