All pastes #676552 Raw Edit

Something

public text v1 · immutable
#676552 ·published 2007-08-31 05:02 UTC
rendered paste body
new lcngate



public OnGameModeInit()
{
	
	
	lcngate = CreateObject( 971, 1915.9752,1969.6205,9.8600, 0.0, 0.0 , 90.0 );
	CreateObject( 986, 1916.1643,1961.7500,8.0000, 0.0, 0.0 , 270.0 );
	CreateObject( 986, 1916.1643,1977.4950,8.0000, 0.0, 0.0 , 90.0 );
	CreateObject(985, 1856.5964,1929.7090,7.5946, 0.0, 0.0 , 180.0 );
        CreateObject(986, 1864.3874,1929.7090,7.5946, 0.0, 0.0 , 180.0 );
	CreateObject(984, 1443.3810,2816.5850,10.5903, 0.0, 0.0, 180.0);
        CreateObject(982, 1430.5691,2822.9526,10.5903, 0.0, 0.0, 90.0);
	CreateObject(984, 1445.8828,2730.7356,10.6003, 0.0, 0.0, 180.0);
	

        return 1;
}



public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/lcnopen", cmdtext, true, 10) == 0)
	{
	MoveObject(lcngate, 1915.9752,1960.9205,9.8600, 3);
	return 1;
	}
	
	if (strcmp("/lcnclose", cmdtext, true, 10) == 0)
	{
	MoveObject(lcngate, 1915.9752,1969.6205,9.8600, 3);
	return 1;
	}
	
	
	return 0;
}