IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

This section is for any editing topics that don't fit into any of the other forums, any questions on how to mod belong in Editing Discussion

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Closed TopicStart new topicStart Poll

 New Opcode Help

 GTA San Andreas
 
MikeTraceur  
Posted: Sunday, Apr 22 2012, 10:15
Quote Post


Player Hater
Group Icon
Group: BUSTED!
Joined: Apr 21, 2012

us.gif

XXXXX



Get into the heart of the matter tounge.gif , I made New Opcode With C++ It is an experimental just Such us "Nop" Message Txt , but While I start game is will crashed wink.gif Is there a problem at here . .
>> CLEO_SDK\demo_plugins\IntOperations
CODE

------------------------define OPCODE------------------------
#define OPCODE_INTOP_AUT   0x0B17
------------------------Opcode Result-------------------------
OpcodeResult WINAPI Script_IntOp_AUT(CScriptThread* thread);
-------------------------register opcodes-------------------
if (CLEO_RegisterOpcode(OPCODE_INTOP_AUT, &Script_IntOp_AUT))
result = TRUE;
-------------------------Opcode Format--------------------
OpcodeResult WINAPI Script_IntOp_SHL(CScriptThread* thread)
/****************************************************************
     Opcode Format
0B17=1, Author %1h%
****************************************************************/
{
int a = CLEO_GetIntOpcodeParam(thread);
int b = CLEO_GetIntOpcodeParam(thread);

CLEO_SetIntOpcodeParam(thread, a << b);

return OR_CONTINUE;
}


Here I Put My Opcode in { IntOperations.cleo opcodes }
data\sa\SASCM.INI
CODE

; IntOperations.cleo opcodes
0B17=1, Author %1h%

the Last stage I Put The Opcode in opcode.txt
CODE

0B17: Author "USERNAME"


Help Pleasse icon14.gif
PM
  Top
 

 
SilentPL  
Posted: Sunday, Apr 22 2012, 10:20
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




Ahmed, we are not stupid smile.gif
Users WebsitePMMSNXbox Live
  Top
 

 

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

0 Members:

Topic Options Closed TopicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG