10.07.2016, 07:09
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xF00540FF, "Dobro dosli u Black Shadow Roleplay!");
playersconnected++;
//playersconnect += 1;
new string[60];
format(string, sizeof(string), "Ovde je trenutno %d igraca na serveru).",playersconnected;
SendClientMessageToAll(0xF00540FF, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
playersconnected--;
//playersconnect -= 1;
new string[60];
format(string, sizeof(string), "Ovde je trenutno %d igraca na serveru).",playersconnected;
return 1; what i need to do
{
SendClientMessage(playerid, 0xF00540FF, "Dobro dosli u Black Shadow Roleplay!");
playersconnected++;
//playersconnect += 1;
new string[60];
format(string, sizeof(string), "Ovde je trenutno %d igraca na serveru).",playersconnected;
SendClientMessageToAll(0xF00540FF, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
playersconnected--;
//playersconnect -= 1;
new string[60];
format(string, sizeof(string), "Ovde je trenutno %d igraca na serveru).",playersconnected;
return 1; what i need to do