Skripta koju koristim: Gladiator
Detaljan opis problema: iskocili su mi errori jel zna neko da mi objasni kako da resim
Dio skripte: /
: error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47374) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47376) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47378) : error 021: symbol already defined: "FIXES_ShowPlayerDialog"
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47381) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47383) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47386) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47388) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47394) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47396) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47402) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47404) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47410) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47412) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47417) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47422) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47424) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47429) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47434) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47436) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47441) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47446) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47448) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47453) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47458) : error 010: invalid function or declaration
C:\Users\Simona\Desktop\SA-MP\Gladiator\gamemodes\GLADIATOR.pwn(47460) : error 010: invalid function or declaration
if(strcmp(cmd, "/oruzje", true) == 0)
{
if(PlayerToPoint(5.0,playerid,294,305.2638,304.4399,999.1484,275.5060,0,0,0,0,0,0;)
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
{
ShowPlayerDialog(playerid, 11, DIALOG_STYLE_LIST, "{0049FF}Oruzja", "1. {00C0FF}Deagle\n2. {00C0FF}MP5\n3. {00C0FF}AK47\n4. {00C0FF}M4\n5. {00C0FF}Sniper\n6. {00C0FF}Country Rifle\n7", "OK", "Iskluci");
}
}
if(dialogid == Dialog id,koj go stavivte) // nauruzanje
{
if(response)
{
if(listitem == 0)
{
if(PlayerInfo[playerid][pRank] >= 1)
{
GivePlayerWeapon(playerid,24,20);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje.");//Tekst po zelba
}
}
if(listitem == 1)
{
if(PlayerInfo[playerid][pRank] >= 1)
{
GivePlayerWeapon(playerid,29,100);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje.");//Tekst po zelba
}
}
if(listitem == 2)
{
if(PlayerInfo[playerid][pRank] >= 1)
{
GivePlayerWeapon(playerid,25,20);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje.");//Tekst po zelba
}
}
if(listitem == 3)
{
if(PlayerInfo[playerid][pRank] >= 2)
{
GivePlayerWeapon(playerid,30,100);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje");//Tekst po zelba
}
else
{
SendClientMessage(playerid, WHITE, "{FFFFFF}Za ova oruzje morate da ste rank "COL_RED"2+");
}
}
if(listitem == 4)
{
if(PlayerInfo[playerid][pRank] >= 3)
{
GivePlayerWeapon(playerid,31,200);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje.");//Tekst po zelba
}
else
{
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Za ova oruzje mora da ste rank "COL_RED"3+");
}
}
if(listitem == 5)
{
if(PlayerInfo[playerid][pRank] >= 4)
{
GivePlayerWeapon(playerid,34,80);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje");//Tekst po zelba
}
else
{
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Za ova oruzje mora da ste rank "COL_RED"4+");
}
}
if(listitem == 6)
{
if(PlayerInfo[playerid][pRank] >= 5)
{
GivePlayerWeapon(playerid,40,5);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje.");//Tekst po zelba
}
else
{
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Za ova oruzje mora da ste rank "COL_RED"5+");
}
}
if(listitem == 7)
{
if(PlayerInfo[playerid][pRank] >= 5)
{
GivePlayerWeapon(playerid,32,100);
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Zedovte oruzje");//Tekst po zelba
}
else
{
SendClientMessage(playerid, ZELENKASTA, "{FFFFFF}Za ova oruzje mora da ste rank "COL_RED"5+");
}
}
if(listitem == 8)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "{37F906}INFO:{FFFFFF} Blagodaram sto se naoruzavte.");//Tekst po zelba
}
}
return 1;
}
jel zna neko kako da popravim errori
alo bre jel zna neko kako ovo da popravim!!!!!!!! :( :( :( :(
alo bre proguglaj kako se koristi PlayerToPoint !!!