marekhovadik 0 Odesláno: 5. Srpen, 2011 Share Odesláno: 5. Srpen, 2011 Takže, udělal jsem dvě rakety podle návodu na rakety pastebin mého kódu: http://pastebin.com/DLh6zvhR Stalo se to tak, že jsem něco (omylem) smazal a pak se to po***** :spam: Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 5. Srpen, 2011 Share Odesláno: 5. Srpen, 2011 a tohle je help nebo co ? Link to comment Share on other sites More sharing options...
0 marekhovadik 0 Odesláno: 5. Srpen, 2011 Author Share Odesláno: 5. Srpen, 2011 jj je to help kdo helpne? Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 5. Srpen, 2011 Share Odesláno: 5. Srpen, 2011 a co takhle napsat jaky errory? takhle se ti na to kazdej vyblejze Link to comment Share on other sites More sharing options...
0 Dregs 2 Odesláno: 5. Srpen, 2011 Share Odesláno: 5. Srpen, 2011 A kód ? Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 5. Srpen, 2011 Share Odesláno: 5. Srpen, 2011 A kód ? a co takhle napsat jaky errory? takhle se ti na to kazdej vyblejze A co takhle si to nejdřív pořádně přečíst? Kód + errory má na pastebin. Autor: Hoď sem přesně ten řádek, který háže ty errory. Link to comment Share on other sites More sharing options...
0 marekhovadik 0 Odesláno: 6. Srpen, 2011 Author Share Odesláno: 6. Srpen, 2011 err rádek : SetObjectLookAt1(strela1[id]ax2,ay2); // natocime raketu na hraca err funkce či co stock SetObjectLookAt1(objectid, Float:x, Float:y) { new Float:Px, Float:Py, Float: Pa; GetObjectPos(objectid,Px,Py,Pa); Pa = floatabs(atan((y-Py)/(x-Px))); if(x <= Px && y >= Py) Pa = floatsub(180.0,Pa); else if(x < Px && y < Py) Pa = floatadd(Pa,180.0); else if(x >= Px && y <= Py) Pa = floatsub(360.0,Pa); Pa = floatsub(Pa,90.0); if(Pa >= 360.0) Pa = floatsub(Pa,360.0); SetObjectRot(objectid,0,0,Pa); return 1; } Link to comment Share on other sites More sharing options...
0 Guest Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 SetObjectLookAt1(strela1[id],ax2,ay2); Link to comment Share on other sites More sharing options...
0 marekhovadik 0 Odesláno: 6. Srpen, 2011 Author Share Odesláno: 6. Srpen, 2011 ahá zkusím hned Link to comment Share on other sites More sharing options...
Dotaz
marekhovadik 0
Takže,
udělal jsem dvě rakety podle návodu na rakety pastebin mého kódu: http://pastebin.com/DLh6zvhR
Stalo se to tak, že jsem něco (omylem) smazal a pak se to po*****
:spam:
Link to comment
Share on other sites
8 odpovědí na tuto otázku
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