Mauvais port
This commit is contained in:
parent
037ee62203
commit
420b9a5c09
1 changed files with 3 additions and 2 deletions
5
test.sp
5
test.sp
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#define MY_SOCKET_IP "localhost"
|
#define MY_SOCKET_IP "localhost"
|
||||||
//#define MY_SOCKET_IP "127.0.0.1"
|
//#define MY_SOCKET_IP "127.0.0.1"
|
||||||
#define MY_SOCKET_PORT 300
|
#define MY_SOCKET_PORT 3000
|
||||||
#define STEAMID_LENGTH 128
|
#define STEAMID_LENGTH 128
|
||||||
|
|
||||||
char teamCT[6][150];
|
char teamCT[6][150];
|
||||||
|
@ -26,13 +26,14 @@ public Plugin myinfo =
|
||||||
|
|
||||||
public void OnPluginStart()
|
public void OnPluginStart()
|
||||||
{
|
{
|
||||||
//HookEvent("cs_win_panel_match", ServeurLibre);
|
|
||||||
HookEvent("player_activate", SetTeamPlayer);
|
HookEvent("player_activate", SetTeamPlayer);
|
||||||
HookEvent("cs_win_panel_round", UpdateScoreBoard);
|
HookEvent("cs_win_panel_round", UpdateScoreBoard);
|
||||||
|
|
||||||
RegServerCmd("!team", SetTeam);
|
RegServerCmd("!team", SetTeam);
|
||||||
|
/* pour le debug
|
||||||
RegServerCmd("!tests", TestSocket);
|
RegServerCmd("!tests", TestSocket);
|
||||||
RegServerCmd("!testsA", TestSocketA);
|
RegServerCmd("!testsA", TestSocketA);
|
||||||
|
*/
|
||||||
|
|
||||||
PrintToServer("Hello world!");
|
PrintToServer("Hello world!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue