AndreYs Posted May 1, 2019 Share Posted May 1, 2019 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 More sharing options...
GroWy Posted May 1, 2019 Share Posted May 1, 2019 Functia aceea trebuie folosita undeva, arata unde ai folosit-o. Link to comment Share on other sites More sharing options...
Matt Posted May 1, 2019 Share Posted May 1, 2019 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 More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now