All pastes #674265 Raw Edit

Mine

public text v1 · immutable
#674265 ·published 2007-08-29 01:57 UTC
rendered paste body
new gate(before main() )



public OnPlayerCommandText(playerid, cmdtext[] ) {
	if (strcmp(cmdtext, "/gateopen", true)==0) {
    MoveObject(gate, 327.180939, -1183.649170, 77.089111, 3);
    return 1;
    }

	if (strcmp(cmdtext, "/gateclose", true)==0) {
	MoveObject(gate, 321.424957, -1188.285034, 77.085876, 3);
	return 1;
	}
	return 0;
}