Emit Help
#1

PHP Code:
stock eResult(num1,num2)
{
    new 
n1 num1;
    new 
n2 num2;
    
#emit LOAD.S.pri n1
    #emit CONST.alt n2
    #emit ADD
    #emit STOR.S.pri n1
    
return n1;

OnGameModeInit:
print(eResult(5,5));
the result is: -3
i need result 10..
this not working good :\
Reply


Messages In This Thread
Emit Help - by Snir_sofer - 25.09.2012, 15:47
Re: Emit Help - by RyDeR` - 25.09.2012, 15:53
Re: Emit Help - by Snir_sofer - 25.09.2012, 17:54

Forum Jump:


Users browsing this thread: 1 Guest(s)