mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-03 16:13:36 +08:00
fix: Fake ban message (#3141)
This commit is contained in:
parent
ee92caa889
commit
7b3920a3dd
@ -21,7 +21,7 @@ namespace big
|
|||||||
const size_t arg_count = 9;
|
const size_t arg_count = 9;
|
||||||
int64_t args[arg_count] = {(int64_t)eRemoteEvent::SendTextLabelSMS, self::id, 1 << player->id()};
|
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);
|
g_pointers->m_gta.m_trigger_script_event(1, args, arg_count, 1 << player->id(), (int)eRemoteEvent::SendTextLabelSMS);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user