fix: Fake ban message (#3141)

This commit is contained in:
CringeArab 2024-05-19 21:42:29 +03:00 committed by GitHub
parent ee92caa889
commit 7b3920a3dd

View File

@ -21,7 +21,7 @@ namespace big
const size_t arg_count = 9;
int64_t args[arg_count] = {(int64_t)eRemoteEvent::SendTextLabelSMS, self::id, 1 << player->id()};
strcpy((char*)&args[2], "HUD_ROSBANPERM");
strcpy((char*)&args[3], "HUD_ROSBANPERM");
g_pointers->m_gta.m_trigger_script_event(1, args, arg_count, 1 << player->id(), (int)eRemoteEvent::SendTextLabelSMS);
}