Skripta koju koristim:Cyber
Detaljan opis problema:C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(41) : warning 201: redefinition of constant/macro (symbol "MAX_PING")
C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(51718) : warning 235: public function lacks forward declaration (symbol "PlayerSpawn")
C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(54052) : warning 235: public function lacks forward declaration (symbol "PlayerUpdate")
C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(54889) : warning 235: public function lacks forward declaration (symbol "PlayerDisconnect")
C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(54892) : warning 235: public function lacks forward declaration (symbol "PlayerText")
C:\Users\Jure\Desktop\Los Santos Rol3play by Juky\gamemodes\LSRP.pwn(54928) : warning 203: symbol is never used: "msg"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Warnings.
Dio skripte:(41)#define MAX_PING 500
(51718):public PlayerSpawn(playerid)
{
TextDrawShowForPlayer(playerid, ShadowsRandom);
return 1;
}
(54052):public PlayerUpdate(playerid)
{
new string[128], string2[256];
new PlayerName[16];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
if(GetPlayerPing(playerid) >= MAX_PING)
{
format(string, sizeof(string), "%s je kick-an sa servera. Razlog - Visok ping %d", PlayerName, MAX_PING);
SendClientMessageToAll(0xAA3333AA, string);
format(string2, sizeof(string2), "Kick-an si sa servera. Razlog - Visok ping %d", MAX_PING);
SendClientMessage(playerid,0xAA3333AA, string2);
Kick(playerid);
}
return 1;
}
(54889):public PlayerDisconnect(playerid, reason){
swearCount[playerid] = 0;
}
(54892):public PlayerText(playerid, text[])
{
if((strlen(text) < 3) || (text[0] == '/') || (text[0] == '#') || (text[0] == '!')) return 1;
new offset;
new len;
for(new i=0; i<MAX_WORDS; i++)
{
offset = strfind(text, swear, true);
if(offset > -1)
{
len = strlen(swear);
if(len < 3) break;
for(new y=0; y<len; y++)
{
text[offset+y] = '*';
}
(54928):u skripti mi ima do 54927?
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
ÄŒitaj pravila.