MizzZer
Где Крузя. Крузи нет.
- Сообщения
- 216
- Реакции
- 103
При запросе
Не записываются значения servername и ip_port
PHP:
FormatEx(szQuery, sizeof(szQuery), "INSERT INTO pcc_temp (steamid, connect, ip_port, servername) VALUES ('%s', '%i', '%s', '%s');", s_SteamId, GetTime(), sIPPort, sServerName);
Не записываются значения servername и ip_port
PHP:
//char
char sIPPort[21], sServerName[32];
public void OnPluginStart()
{
DBConnection();
GetConVarString(CreateConVar("sm_pcc_ipport", "", "Server IP and port in the format - x.x.x.x:xxxxx"), sIPPort, sizeof(sIPPort));
GetConVarString(CreateConVar("sm_pcc_servername", "", "The short name of your server. Example: AWP"), sServerName, sizeof(sServerName));
AutoExecConfig(true, "pcc");
}