17.07.2016, 13:20
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xED1148FF, "Dobro Dosli Na Black Shadow Roleplay!");
playersconnected++;
//playersconnect += 1;
new string[60];
format(string, sizeof(string),"Ovde je trenutno %d i %d igraca na serveru.",playersconnected);
SendClientMessageToAll(0xED1148FF, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
playersconnected--;
//playersconnect -= 1;
new string[60];
format(string, sizeof(string),"Ovde je trenutno %d i %d igraca na serveru.",playersconnected);
SendClientMessageToAll(0xED1148FF, string);
return 1;
}
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\pawno\BSRP V.0.1.pwn(4) : error 010: invalid function or declaration
help
{
SendClientMessage(playerid, 0xED1148FF, "Dobro Dosli Na Black Shadow Roleplay!");
playersconnected++;
//playersconnect += 1;
new string[60];
format(string, sizeof(string),"Ovde je trenutno %d i %d igraca na serveru.",playersconnected);
SendClientMessageToAll(0xED1148FF, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
playersconnected--;
//playersconnect -= 1;
new string[60];
format(string, sizeof(string),"Ovde je trenutno %d i %d igraca na serveru.",playersconnected);
SendClientMessageToAll(0xED1148FF, string);
return 1;
}
C:\Users\PC\Desktop\Dejanovi folderi\Black Shadow Roleplay\pawno\BSRP V.0.1.pwn(4) : error 010: invalid function or declaration
help