Can someone explain to me how I can do to let me know when they want to remove my weapons?
if (*(int*)addressOfArgs == 0x12C3ACC && 0x12C3C74&& *(int*)(addressOfArgs + 0x8) == 0x4E800020) {
snprintf(scriptEventDialogText, sizeof(scriptEventDialogText), "~r~NOTICE!!! ~b~%s ~w~Tried remove your weapons!", senderName);
PRINT(scriptEventDialogText, 5000);
*(int*)addressOfArgs = 0;
}
Thanks
if (*(int*)addressOfArgs == 0x12C3ACC && 0x12C3C74&& *(int*)(addressOfArgs + 0x8) == 0x4E800020) {
snprintf(scriptEventDialogText, sizeof(scriptEventDialogText), "~r~NOTICE!!! ~b~%s ~w~Tried remove your weapons!", senderName);
PRINT(scriptEventDialogText, 5000);
*(int*)addressOfArgs = 0;
}
Thanks