Ronnie 0 Odesláno: 13. Leden, 2013 Share Odesláno: 13. Leden, 2013 mam pouze dotaz chystam se udelat brany tak ze pokud je v urcitych souradnicich otevre se ta brana ale nevim do jakeho publicu pls help. diky Link to comment Share on other sites More sharing options...
Adrián Lipták 51 Odesláno: 13. Leden, 2013 Share Odesláno: 13. Leden, 2013 Urob si Timer.. Link to comment Share on other sites More sharing options...
Ronnie 0 Odesláno: 13. Leden, 2013 Author Share Odesláno: 13. Leden, 2013 a forward a tam uz dat treba do publicu pokud je v tech souradnicich takze se zacne otvirat brana ? Link to comment Share on other sites More sharing options...
Adrián Lipták 51 Odesláno: 13. Leden, 2013 Share Odesláno: 13. Leden, 2013 použiješ: new brana; // mimo publici // tam kde máš create object (.... ); // brana.. dáš brana=createobject(..); potom gamemode init SetTimer("Brana",1000.1); // 1000-> milisekundy, 1-> true-> opakovanie potom forward Brana(); public Brana() { for(new i; i<GetMaxPlayers(); i++) { if(IsPlayerConnected(i)) { if(IsPlayerInRangeofPoint(i,15,XBrany,YBrany,ZBrany)) { MoveObject(brana, x kam chces,y kam ches,zkam chces,rot x, roty,rotz...); // pohne branu } } } } Link to comment Share on other sites More sharing options...
Ronnie 0 Odesláno: 14. Leden, 2013 Author Share Odesláno: 14. Leden, 2013 sak rotaci nemusim ne ? Link to comment Share on other sites More sharing options...
niCe 131 Odesláno: 14. Leden, 2013 Share Odesláno: 14. Leden, 2013 Tag [HELP] uz se nepouziva! Priste vyber u nazvu tematu oznaceni tematu. Link to comment Share on other sites More sharing options...
Adrián Lipták 51 Odesláno: 14. Leden, 2013 Share Odesláno: 14. Leden, 2013 keď dáš 0 na rotáciu.. tak pojde rovno len na určené súradnice. (nebude sa točit) Link to comment Share on other sites More sharing options...
Mivčo 90 Odesláno: 14. Leden, 2013 Share Odesláno: 14. Leden, 2013 Točit ako na rze :d 1 Link to comment Share on other sites More sharing options...
Ronnie 0 Odesláno: 14. Leden, 2013 Author Share Odesláno: 14. Leden, 2013 nemam definovane IsPlayerInRangeofPoint jak se to definuje ? a ta 15 je radius ? 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