672 |
|
DDrStartupMessage("finished parsing"); |
673 |
|
} |
674 |
|
|
675 |
+ |
uint16_t ONICALL bsl_findmsg(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* dontuse2, sl_arg* ret) |
676 |
+ |
{ |
677 |
+ |
//DDrMake_Weapon_Message(args[0].value_str32); |
678 |
+ |
return false; |
679 |
+ |
} |
680 |
|
void SLrDaodan_Initalize() |
681 |
|
{ |
682 |
|
|
688 |
|
//DDrPatch_Const(OniExe + 0x0011BB64, regen_patch); |
689 |
|
|
690 |
|
SLrConfig(); |
691 |
< |
|
691 |
> |
SLrScript_Command_Register_ReturnType("d_wp", "Shows weapon message", "wpn:string", sl_void, bsl_findmsg); |
692 |
|
|
693 |
|
SLrScript_Command_Register_ReturnType("int32mul", "Multiplies two numbers", "n1:int n2:int", sl_int32, bsl_int32mul); |
694 |
|
SLrScript_Command_Register_ReturnType("mul", "Multiplies two numbers", "[int1:int|float1:float] [int2:int|float2:float]", sl_float, bsl_mul); |