Skripta koju koristim: BalkanMafia
Detaljan opis problema: Kako da sredim ove errore
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\ESRP.pwn(3803) : warning 201: redefinition of constant/macro (symbol "sInfo")
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\ESRP.pwn(6428) : warning 204: symbol is assigned a value that is never used: "sendername"
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\ESRP.pwn(87053) : warning 225: unreachable code
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\ESRP.pwn(105748) : warning 203: symbol is never used: "PlayerPos"
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\ESRP.pwn(105748) : warning 203: symbol is never used: "weather2"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Warnings.
Dio skripte: Poslacu ako treba
Neke slike/video za lakse dobivanje pomoci(neobavezno): /
aj napisi sve te linije , inace
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\server uklonjen!.pwn(105748) : warning 203: symbol is never used: "PlayerPos"
C:\Users\Gasabo\Desktop\aa\ExclusiveSchool\gamemodes\server uklonjen!.pwn(105748) : warning 203: symbol is never used: "weather2"
na ovim linijama samo izbrisi to PlayerPos i weather2 jer se nigde ne koriste... a ostale linije daj
87053 if(mixa[playerid] == 1)
6428 public OnPlayerConnect(playerid)
{
//TextDrawHideForAll(flash);
AfkCheck[playerid] = 0;
new sendername[MAX_PLAYER_NAME];
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "BU:RP | Domacin je prekrsio jedan od pravila sporazuma, preduzete su mere!");
Kick(playerid);
return 1;
}
3803 enum sInfo
{
Float:sEntrancex,
Float:sEntrancey,
Float:sEntrancez,
Float:sExitx,
Float:sExity,
Float:sExitz,
sHealthx,
sHealthy,
sHealthz,
sArmourx,
sArmoury,
sArmourz,
sOwner[MAX_PLAYER_NAME],
sDiscription[MAX_PLAYER_NAME],
sValue,
sHel,
sArm,
sInt,
sLock,
sRent,
sRentabil,
sOwned,
sRooms,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};
public OnPlayerConnect(playerid)
{
//TextDrawHideForAll(flash);
AfkCheck[playerid] = 0;
//new sendername[MAX_PLAYER_NAME];
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(Security != 0)
{
SendClientMessage(playerid, COLOR_YELLOW, "BU:RP | Domacin je prekrsio jedan od pravila sporazuma, preduzete su mere!");
Kick(playerid);
return 1;
}
return 1;
}
enum sInfo
{
Float:sEntrancex,
Float:sEntrancey,
Float:sEntrancez,
Float:sExitx,
Float:sExity,
Float:sExitz,
sHealthx,
sHealthy,
sHealthz,
sArmourx,
sArmoury,
sArmourz,
sOwner[MAX_PLAYER_NAME],
sDiscription[MAX_PLAYER_NAME],
sValue,
sHel,
sArm,
sInt,
sLock,
sRent,
sRentabil,
sOwned,
sRooms,
sTakings,
sVec,
sVcol1,
sVcol2,
sDate,
sLevel,
sWorld
};
new PlayerInfo[MAX_PLAYERS][sInfo];
Zasto kad compilam pise mi da prestaje da radi?
â–ˆ Rudimental â–ˆ Zns li sta je problem?
(http://i.imgur.com/XqKxr9n.jpg)
Molimo te da procitas pravila foruma te da onda otvoris temu po pravilima.
Razlog zakljucavanja:
BUMP je dozvoljen tek nakon 24h
Pravila:
Glavna pravila Balkan SA:MP foruma (http://balkan-samp.com/forum/index.php?topic=7045.0) .
Razgovor u vezi PAWN-Skriptanja (http://balkan-samp.com/forum/index.php?topic=11453.0) .