Coding

 Reply to this postStart new topic

using functions

Deji
post Jun 8 2012, 05:45 PM
Post #21


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



See the values? What values? And types of what?


--------------------
Go to the top of the page
 
+Quote Post
badboy
post Jun 8 2012, 05:55 PM
Post #22


Trained Member

Posts: 76
From: Nederland, NL
Joined: 1-May 12



QUOTE (Deji @ Jun 8 2012, 07:45 PM) *
See the values? What values? And types of what?


E.g
CODE
0AA5: call 0x4087E0 num_params 2 pop 2 0 #ADMIRAL // the 0 before #ADMIRAL


QUOTE (DK22 @ Jun 4 2012, 11:59 PM) *
Just look how it called.
CODE
blip = CRadar::createBlip(4, x, y, 0, 0, 2);

CODE
0AA7: call_function 0x583820 num_params 6 pop 6 4 1@ 2@ 3@ 0 2 result_to 0@ // the 4 before 1@
Go to the top of the page
 
+Quote Post
Deji
post Jun 8 2012, 06:19 PM
Post #23


Coding like a Rockstar!

Group Icon

Posts: 1,468
From: ???
Joined: 28-May 09



As I said before... You gotta pass the arguments in reverse.


--------------------
Go to the top of the page
 
+Quote Post
Reply to this postStart new topic

13 User(s) are reading this topic (13 Guests and 0 Anonymous Users)
0 Members: