public OnPlayerDisconnect(playerid, reason)
{
SendDisconnectMessage(playerid, reason);
C:\Users\Julius\Documents\Grand Theft Auto Servers\San Andreas\samp03e_svr_win32.zip\gamemodes\grandlarc3.pwn(165) : error 017: undefined symbol "SendDisconnectMessage"
new pName[24];
new string[128];
new pName2[24];
new string2[128];
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, pName, 24);
format(string, 128, "%s has joined the server!", pName);
SendClientMessageToAll(0xFFFFFFF, string);
return 1;
}
public OnPlayerDisconnect(playerid)
{
GetPlayerName(playerid, pName2, 24);
format(string2, 128, "%s has left the server!", pName2);
SendClientMessageToAll(0xFFFFFFF, string2);
return 1;
}
|
Код:
new pName[24];
new string[128];
new pName2[24];
new string2[128];
public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, pName, 24);
format(string, 128, "%s has joined the server!", pName);
SendClientMessageToAll(0xFFFFFFF, string);
return 1;
}
public OnPlayerDisconnect(playerid)
{
GetPlayerName(playerid, pName2, 24);
format(string2, 128, "%s has left the server!", pName2);
SendClientMessageToAll(0xFFFFFFF, string2);
return 1;
}
|
|
You didn't mind reading? That wasn't what I wanted. I said LIKE THE DEATH WINDOW
|