Jump to content

[DELETED]Problema


AndreYs
 Share

Recommended Posts

Am adugat sistem-ul de apartamente lui edison si nu merge sa dau enter 'f' sa deschida sa intri in el folosesc gm bugzone

cod sursa:

function enter_apartment( playerid ) {
	new Float: x, Float: y, Float: z;
	for( new i = 0; i < 24; i++ ) {
		GetDynamicObjectPos( apartament_door[ i ], x, y, z );
		if( PlayerToPoint( 2.0, playerid, x, y, z ) ) {
			if( !apartament_door_status[ i ] ) {
				if( i == 0 || i == 3 || i == 5 || i == 6 || i == 7 || i == 9 || i == 12 || i == 15 || i == 16 || i == 19 || i == 20 || i == 21 ) MoveDynamicObject( apartament_door[ i ], x, y, z, 10.0, 0.0, 0.0, -6.2800 );
				else MoveDynamicObject( apartament_door[ i ], x, y, z, 10.0, 0.0, 0.0, -188.4399 );
				apartament_door_status[ i ] = 1;
			} else {
				if( i == 0 || i == 3 || i == 5 || i == 6 || i == 7 || i == 9 || i == 12 || i == 15 || i == 16 || i == 19 || i == 20 || i == 21 ) MoveDynamicObject( apartament_door[ i ], x, y, z, 10.0, 0.0, 0.0, -100.000000 );
				else MoveDynamicObject( apartament_door[ i ], x, y, z, 10.0, 0.0, 0.0, 260.000000 );
				apartament_door_status[ i ] = 0;
			}
		}
	}
	return true; }

 

Link to comment
Share on other sites

Topic-ul a fost șters deoarece nu ai respectat modelul de postare. Te rugăm sa revii cu alt topic in care să respecți modelul.

Topic șters!

Respecta si vei fi respectat.

 

BigInt Pawn:

Pacman C++: 

Snake C++:

Minesweeper C++:

 

mattbb.cash

leaks.ro

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...