- 0
Problema
-
Similar Content
-
Problema turf
By Soryn.,
- 3 answers
- 261 views
-
- 1 reply
- 179 views
-
Problema
By ImJustSlim,
- 3 answers
- 286 views
-
- 2 replies
- 157 views
-
- 1 answer
- 312 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
ANDR
Am adugat sistem-ul de apartamente lui edison si nu merge sa dau enter 'f' sa deschida sa intri in el folosesc gm bigzone
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
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.