26.09.2010, 14:32 
	
	
	
		hello scriptes!
i tried to build Teleport system, with this system you can create teleports in the server..
but When you trying to do Command of the teleport it's says "SERVER:Unknow command" ..
this is my function
	
	
	
	
i tried to build Teleport system, with this system you can create teleports in the server..
but When you trying to do Command of the teleport it's says "SERVER:Unknow command" ..
this is my function
PHP код:
if(strcmp(cmdtext[1], GetTeleportFile(cmdtext[1]), true) == 0)
    {
        SetPlayerFacingAngle(playerid, file_Float(GetTeleportFile(cmdtext[1]), "FacingAngel"));
        SetPlayerPos(playerid, file_Float(GetTeleportFile(cmdtext[1]), "PosX"), file_Float(GetTeleportFile(cmdtext[1]), "PosY"),
        file_Float(GetTeleportFile(cmdtext[1]), "PosZ")); 
        return 1;
    } 



