Server unknown command problem (help me!)
#1

Okay so i made an interior inside and interior but when i type /exit it does what i told it too but it also sends me SERVER:Uknown Command, id like to know how to make it not send me that...

at first i did
Code:
new Float:saveX[MAX_PLAYERS],Float:saveY[MAX_PLAYERS],Float:saveZ[MAX_PLAYERS];
except of the interior variables which are
Code:
new VagosHouse;
new VagosMassacre;
im not gonna show the OnGameModeInIt since it has nothing to do with that (in my opinion since im new in scripting)
So lets see the commands ive put...

Code:
	if(strcmp(cmdtext,"/enter",true)==0)
	{
		if(IsPlayerInRangeOfPoint(playerid,5.0,2469.2902832031,-1649.0827636719,13.471720695496))
		{
			SetPlayerPos(playerid,1527.229980,-11.574499,1002.097106);
			SetPlayerInterior(playerid,3);
			GetPlayerPos(playerid,saveX[playerid],saveY[playerid],saveZ[playerid]);
		}
	
		if(IsPlayerInRangeOfPoint(playerid,5.0,2230.6355,-1407.7169,24.0000))
		{
			SetPlayerPos(playerid,1523.509887,-47.821197,1002.130981);
			SetPlayerInterior(playerid,2);
            GetPlayerPos(playerid,saveX[playerid],saveY[playerid],saveZ[playerid]);
		}
		if(IsPlayerInRangeOfPoint(playerid,5.0,2394.7871,-1133.8131,30.7188))
		{
			SetPlayerPos(playerid,501.980987,-69.150199,998.757812);
			SetPlayerInterior(playerid,11);
            GetPlayerPos(playerid,saveX[playerid],saveY[playerid],saveZ[playerid]);
		}
		if(IsPlayerInRangeOfPoint(playerid,5.0,488.1916,-82.7742,998.7578))
		{
			SetPlayerPos(playerid,963.418762,2108.292480,1011.030273);
			SetPlayerInterior(playerid,1);
            
		}
		return 1;

	}
	if(strcmp(cmdtext,"/exit",true)==0){
	    if(IsPlayerInRangeOfPoint(playerid,5.0,963.418762,2108.292480,1011.030273))
			{
				SetPlayerPos(playerid,488.1916,-82.7742,998.7578);
				SetPlayerInterior(playerid,11);
				
			}
		 else {
		  		SetPlayerPos(playerid,saveX[playerid],saveY[playerid],saveZ[playerid]);
		  		SetPlayerInterior(playerid, 0);
	          }

And here's some ScreenShots of what it sends me...




Please help
Not forgeting that it only sends that in /exit!
Reply


Messages In This Thread
Server unknown command problem (help me!) - by >>Th0r<< - 08.06.2011, 12:22
Re: Server unknown command problem (help me!) - by Skidmarks - 08.06.2011, 13:01
Re: Server unknown command problem (help me!) - by >>Th0r<< - 08.06.2011, 14:23
Re: Server unknown command problem (help me!) - by >>Th0r<< - 08.06.2011, 14:27

Forum Jump:


Users browsing this thread: 1 Guest(s)