SAMP.NET/sampdotnethook/a_samp.cpp

403 lines
13 KiB
C++
Raw Permalink Normal View History

2022-08-27 17:10:32 +00:00
#include "a_samp.h"
2022-08-27 17:16:44 +00:00
void SendClientMessage(int playerid, unsigned int color, char* message) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendClientMessage, playerid, color, message);
}
2022-08-27 17:16:44 +00:00
void SendClientMessageToAll(unsigned int color, char* message) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendClientMessageToAll, color, message);
}
2022-08-27 17:16:44 +00:00
void SendPlayerMessageToPlayer(int playerid, int senderid, char* message) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendPlayerMessageToPlayer, playerid, senderid, message);
}
2022-08-27 17:16:44 +00:00
void SendPlayerMessageToAll(int senderid, char* message) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendPlayerMessageToAll, senderid, message);
}
2022-08-27 17:16:44 +00:00
void SendDeathMessage(int killer, int killee, int weapon) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendDeathMessage, killer, killee, weapon);
}
2022-08-27 17:16:44 +00:00
void GameTextForAll(char* string, int time, int style) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GameTextForAll, string, time, style);
}
2022-08-27 17:16:44 +00:00
void GameTextForPlayer(int playerid, char* string, int time, int style) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GameTextForPlayer, playerid, string, time, style);
}
2022-08-27 17:16:44 +00:00
int _GetTickCount() {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GetTickCount);
}
2022-08-27 17:16:44 +00:00
int GetMaxPlayers() {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GetMaxPlayers);
}
2022-08-27 17:16:44 +00:00
void SetGameModeText(char* string) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetGameModeText, string);
}
2022-08-27 17:16:44 +00:00
void SetTeamCount(int count) { // No effect
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetTeamCount, count);
}
2022-08-27 17:16:44 +00:00
int AddPlayerClass(int modelid, float spawn_x, float spawn_y, float spawn_z, float z_angle, int weapon1, int weapon1_ammo, int weapon2, int weapon2_ammo, int weapon3, int weapon3_ammo) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::AddPlayerClass, modelid, spawn_x, spawn_y, spawn_z, z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
}
2022-08-27 17:16:44 +00:00
int AddPlayerClassEx(int teamid, int modelid, float spawn_x, float spawn_y, float spawn_z, float z_angle, int weapon1, int weapon1_ammo, int weapon2, int weapon2_ammo, int weapon3, int weapon3_ammo) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::AddPlayerClassEx, teamid, modelid, spawn_x, spawn_y, spawn_z, z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
}
2022-08-27 17:16:44 +00:00
int AddStaticVehicle(int modelid, float spawn_x, float spawn_y, float spawn_z, float z_angle, int color1, int color2) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::AddStaticVehicle, modelid, spawn_x, spawn_y, spawn_z, z_angle, color1, color2);
}
2022-08-27 17:16:44 +00:00
int AddStaticVehicleEx(int modelid, float spawn_x, float spawn_y, float spawn_z, float z_angle, int color1, int color2, int respawn_delay) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::AddStaticVehicleEx, modelid, spawn_x, spawn_y, spawn_z, z_angle, color1, color2, respawn_delay);
}
2022-08-27 17:16:44 +00:00
int AddStaticPickup(int model, int type, float x, float y, float z, int virtualworld) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::AddStaticPickup, model, type, x, y, z, virtualworld);
}
2022-08-27 17:16:44 +00:00
int CreatePickup(int model, int type, float x, float y, float z, int virtualworld) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::CreatePickup, model, type, x, y, z, virtualworld);
}
2022-08-27 17:16:44 +00:00
void DestroyPickup(int pickup) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DestroyPickup, pickup);
}
2022-08-27 17:16:44 +00:00
void ShowNameTags(int show) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::ShowNameTags, show);
}
2022-08-27 17:16:44 +00:00
void ShowPlayerMarkers(int mode) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::ShowPlayerMarkers, mode);
}
2022-08-27 17:16:44 +00:00
void GameModeExit() {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GameModeExit);
}
2022-08-27 17:16:44 +00:00
void SetWorldTime(int hour) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetWorldTime, hour);
}
2022-08-27 17:16:44 +00:00
void GetWeaponName(int weaponid, char* weapon, int len) {
2022-08-27 17:10:32 +00:00
char _weapon[50];
g_Invoke->callNative(&PAWN::GetWeaponName, weaponid, _weapon, len);
2022-08-27 17:16:44 +00:00
strncpy_s(weapon, len, _weapon, _TRUNCATE);
2022-08-27 17:10:32 +00:00
}
2022-08-27 17:16:44 +00:00
void EnableTirePopping(int enable) { // Deprecated
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::EnableTirePopping, enable);
}
2022-08-27 17:16:44 +00:00
void AllowInteriorWeapons(int allow) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::AllowInteriorWeapons, allow);
}
2022-08-27 17:16:44 +00:00
void SetWeather(int weatherid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetWeather, weatherid);
}
2022-08-27 17:16:44 +00:00
void SetGravity(float gravity) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetGravity, gravity);
}
2022-08-27 17:16:44 +00:00
void AllowAdminTeleport(int allow) { // Deprecated
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::AllowAdminTeleport, allow);
}
2022-08-27 17:16:44 +00:00
void SetDeathDropAmount(int amount) { // Deprecated
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetDeathDropAmount, amount);
}
2022-08-27 17:16:44 +00:00
void CreateExplosion(float x, float y, float z, int type, float radius) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::CreateExplosion, x, y, z, type, radius);
}
2022-08-27 17:16:44 +00:00
void EnableZoneNames(int enable) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::EnableZoneNames, enable);
}
2022-08-27 17:16:44 +00:00
void UsePlayerPedAnims() {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::UsePlayerPedAnims);
}
2022-08-27 17:16:44 +00:00
void DisableInteriorEnterExits() {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DisableInteriorEnterExits);
}
2022-08-27 17:16:44 +00:00
void SetNameTagDrawDistance(float distance) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetNameTagDrawDistance, distance);
}
2022-08-27 17:16:44 +00:00
void DisableNameTagLOS() {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DisableNameTagLOS);
}
2022-08-27 17:16:44 +00:00
void LimitGlobalChatRadius(float chat_radius) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::LimitGlobalChatRadius, chat_radius);
}
2022-08-27 17:16:44 +00:00
void LimitPlayerMarkerRadius(float marker_radius) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::LimitPlayerMarkerRadius, marker_radius);
}
2022-08-27 17:16:44 +00:00
void ConnectNPC(char* name, char* script) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::ConnectNPC, name, script);
}
2022-08-27 17:16:44 +00:00
int IsPlayerNPC(int playerid) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::IsPlayerNPC, playerid);
}
2022-08-27 17:16:44 +00:00
int IsPlayerAdmin(int playerid) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::IsPlayerAdmin, playerid);
}
2022-08-27 17:16:44 +00:00
void Kick(int playerid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::Kick, playerid);
}
2022-08-27 17:16:44 +00:00
void Ban(int playerid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::Ban, playerid);
}
2022-08-27 17:16:44 +00:00
void BanEx(int playerid, char* reason) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::BanEx, playerid, reason);
}
2022-08-27 17:16:44 +00:00
void SendRconCommand(char* command) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SendRconCommand, command);
}
2022-08-27 17:16:44 +00:00
void GetServerVarAsString(char* varname, char* buffer, int len) {
2022-08-27 17:10:32 +00:00
char _buffer[1024];
g_Invoke->callNative(&PAWN::GetServerVarAsString, varname, _buffer, len);
2022-08-27 17:16:44 +00:00
strncpy_s(buffer, len, _buffer, _TRUNCATE);
2022-08-27 17:10:32 +00:00
}
2022-08-27 17:16:44 +00:00
int GetServerVarAsInt(char* varname) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GetServerVarAsInt, varname);
}
2022-08-27 17:16:44 +00:00
int GetServerVarAsBool(char* varname) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GetServerVarAsBool, varname);
}
2022-08-27 17:16:44 +00:00
void GetPlayerNetworkStats(int playerid, char* retstr, int retstr_size) {
2022-08-27 17:10:32 +00:00
char _retstr[1024];
g_Invoke->callNative(&PAWN::GetPlayerNetworkStats, playerid, _retstr, retstr_size);
2022-08-27 17:16:44 +00:00
strncpy_s(retstr, retstr_size, _retstr, _TRUNCATE);
2022-08-27 17:10:32 +00:00
}
2022-08-27 17:16:44 +00:00
void GetNetworkStats(char* retstr, int retstr_size) {
2022-08-27 17:10:32 +00:00
char _retstr[1024];
g_Invoke->callNative(&PAWN::GetNetworkStats, _retstr, retstr_size);
2022-08-27 17:16:44 +00:00
strncpy_s(retstr, retstr_size, _retstr, _TRUNCATE);
2022-08-27 17:10:32 +00:00
}
2022-08-27 17:16:44 +00:00
void GetPlayerVersion(int playerid, char* version, int len) {
2022-08-27 17:10:32 +00:00
char _version[10];
2022-08-27 17:16:44 +00:00
g_Invoke->callNative(&PAWN::GetPlayerVersion, playerid, _version, len);
strncpy_s(version, len, _version, _TRUNCATE);
2022-08-27 17:10:32 +00:00
}
2022-08-27 17:16:44 +00:00
int CreateMenu(char* title, int columns, float x, float y, float col1width, float col2width ) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::CreateMenu, title, columns, x, y, col1width, col2width);
}
2022-08-27 17:16:44 +00:00
int DestroyMenu(int menuid) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::DestroyMenu, menuid);
}
2022-08-27 17:16:44 +00:00
void AddMenuItem(int menuid, int column, char* menutext) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::AddMenuItem, menuid, column, menutext);
}
2022-08-27 17:16:44 +00:00
void SetMenuColumnHeader(int menuid, int column, char* columnheader) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::SetMenuColumnHeader, menuid, column, columnheader);
}
2022-08-27 17:16:44 +00:00
void ShowMenuForPlayer(int menuid, int playerid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::ShowMenuForPlayer, menuid, playerid);
}
2022-08-27 17:16:44 +00:00
void HideMenuForPlayer(int menuid, int playerid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::HideMenuForPlayer, menuid, playerid);
}
2022-08-27 17:16:44 +00:00
int IsValidMenu(int menuid) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::IsValidMenu, menuid);
}
2022-08-27 17:16:44 +00:00
void DisableMenu(int menuid) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DisableMenu, menuid);
}
2022-08-27 17:16:44 +00:00
void DisableMenuRow(int menuid, int row) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DisableMenuRow, menuid, row);
}
2022-08-27 17:16:44 +00:00
int GetPlayerMenu(int playerid) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GetPlayerMenu, playerid);
}
2022-08-27 17:16:44 +00:00
int TextDrawCreate(float x, float y, char* text) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::TextDrawCreate, x, y, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawDestroy(int text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawDestroy, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawLetterSize(int text, float x, float y) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawLetterSize, text, x, y);
}
2022-08-27 17:16:44 +00:00
void TextDrawTextSize(int text, float x, float y) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawTextSize, text, x, y);
}
2022-08-27 17:16:44 +00:00
void TextDrawAlignment(int text, int alignment) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawAlignment, text, alignment);
}
2022-08-27 17:16:44 +00:00
void TextDrawColor(int text, unsigned int color) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawColor, text, color);
}
2022-08-27 17:16:44 +00:00
void TextDrawUseBox(int text, int use) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawUseBox, text, use);
}
2022-08-27 17:16:44 +00:00
void TextDrawBoxColor(int text, unsigned int color) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawBoxColor, text, color);
}
2022-08-27 17:16:44 +00:00
void TextDrawSetShadow(int text, int size) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawSetShadow, text, size);
}
2022-08-27 17:16:44 +00:00
void TextDrawSetOutline(int text, int size) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawSetOutline, text, size);
}
2022-08-27 17:16:44 +00:00
void TextDrawBackgroundColor(int text, unsigned int color) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawBackgroundColor, text, color);
}
2022-08-27 17:16:44 +00:00
void TextDrawFont(int text, int font) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawFont, text, font);
}
2022-08-27 17:16:44 +00:00
void TextDrawSetProportional(int text, int set) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawSetProportional, text, set);
}
2022-08-27 17:16:44 +00:00
void TextDrawSetSelectable(int text, int set) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawSetSelectable, text, set);
}
2022-08-27 17:16:44 +00:00
void TextDrawShowForPlayer(int playerid, int text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawShowForPlayer, playerid, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawHideForPlayer(int playerid, int text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawHideForPlayer, playerid, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawShowForAll(int text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawShowForAll, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawHideForAll(int text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawHideForAll, text);
}
2022-08-27 17:16:44 +00:00
void TextDrawSetString(int text, char* string) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::TextDrawSetString, text, string);
}
2022-08-27 17:16:44 +00:00
int GangZoneCreate(float minx, float miny, float maxx, float maxy) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GangZoneCreate, minx, miny, maxx, maxy);
}
2022-08-27 17:16:44 +00:00
void GangZoneDestroy(int zone) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneDestroy, zone);
}
2022-08-27 17:16:44 +00:00
void GangZoneShowForPlayer(int playerid, int zone, unsigned int color) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneShowForPlayer, playerid, zone, color);
}
2022-08-27 17:16:44 +00:00
int GangZoneShowForAll(int zone, unsigned int color) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::GangZoneShowForAll, zone, color);
}
2022-08-27 17:16:44 +00:00
void GangZoneHideForPlayer(int playerid, int zone) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneHideForPlayer, playerid, zone);
}
2022-08-27 17:16:44 +00:00
void GangZoneHideForAll(int zone) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneHideForAll, zone);
}
2022-08-27 17:16:44 +00:00
void GangZoneFlashForPlayer(int playerid, int zone, unsigned int flashcolor) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneFlashForPlayer, playerid, zone, flashcolor);
}
2022-08-27 17:16:44 +00:00
void GangZoneFlashForAll(int zone, unsigned int flashcolor) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneFlashForAll, zone, flashcolor);
}
2022-08-27 17:16:44 +00:00
void GangZoneStopFlashForPlayer(int playerid, int zone) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneStopFlashForPlayer, playerid, zone);
}
2022-08-27 17:16:44 +00:00
void GangZoneStopFlashForAll(int zone) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::GangZoneStopFlashForAll, zone);
}
2022-08-27 17:16:44 +00:00
int Create3DTextLabel(char* text, unsigned int color, float x, float y, float z, float drawdistance, int virtualworld, int testLOS) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::Create3DTextLabel, text, color, x, y, z, drawdistance, virtualworld, testLOS);
}
2022-08-27 17:16:44 +00:00
int Delete3DTextLabel(int id) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::Delete3DTextLabel, id);
}
2022-08-27 17:16:44 +00:00
void Attach3DTextLabelToPlayer(int id, int playerid, float offsetx, float offsety, float offsetz) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::Attach3DTextLabelToPlayer, id, playerid, offsetx, offsety, offsetz);
}
2022-08-27 17:16:44 +00:00
void Attach3DTextLabelToVehicle(int id, int vehicleid, float offsetx, float offsety, float offsetz) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::Attach3DTextLabelToVehicle, id, vehicleid, offsetx, offsety, offsetz);
}
2022-08-27 17:16:44 +00:00
void Update3DTextLabelText(int id, unsigned int color, char* text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::Update3DTextLabelText, id, color, text);
}
2022-08-27 17:16:44 +00:00
int CreatePlayer3DTextLabel(int playerid, char* text, unsigned int color, float x, float y, float z, float drawdistance, int attachedplayer, int attachedvehicle, int testLOS) {
2022-08-27 17:10:32 +00:00
return g_Invoke->callNative(&PAWN::CreatePlayer3DTextLabel, playerid, text, color, x, y, z, drawdistance, attachedplayer, attachedvehicle, testLOS);
}
2022-08-27 17:16:44 +00:00
void DeletePlayer3DTextLabel(int playerid, int id) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::DeletePlayer3DTextLabel, playerid, id);
}
2022-08-27 17:16:44 +00:00
void UpdatePlayer3DTextLabelText(int playerid, int id, unsigned int color, char* text) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::UpdatePlayer3DTextLabelText, playerid, id, color, text);
}
2022-08-27 17:16:44 +00:00
void ShowPlayerDialog(int playerid, int dialogid, int style, char* caption, char* info, char* button1, char* button2) {
2022-08-27 17:10:32 +00:00
g_Invoke->callNative(&PAWN::ShowPlayerDialog, playerid, dialogid, style, caption, info, button1, button2);
2022-08-27 17:16:44 +00:00
}