Detaljan opis problema: Testiram neke robbank sisteme,u pawno mi ovo izlazi
Quote
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39479) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39492) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39510) : error 004: function "RobbingTime" is not implemented
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39510) : warning 215: expression has no effect
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39511) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39514) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39514) : warning 215: expression has no effect
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39492) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39510) : error 004: function "RobbingTime" is not implemented
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39510) : warning 215: expression has no effect
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39511) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39514) : error 076: syntax error in the expression, or invalid function call
E:\SAMP\Nova fascikla (5)\TechLand Xperia\gamemodes\CLRP.pwn(39514) : warning 215: expression has no effect
to se odnosi na ovo
Quote
if(BankRobbedRecently == 1)
if(NekoPljacka == 1)
RobbingTime(playerid) = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
BankRobbedRecently = 1;
if(NekoPljacka == 1)
RobbingTime(playerid) = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
BankRobbedRecently = 1;
Deo skripte:
Quote
if(strcmp(cmdtext, "/robbank", true) == 0)
{
new success = random(2);
if(BankRobbedRecently == 1)
{
SendClientMessage(playerid, COLOR_GREY, "* Banka je vec opljackana, pokusajte kasnije");
return 1;
}
if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3|| PlayerInfo == 4
|| PlayerInfo == 7 || PlayerInfo == 9 || PlayerInfo == 10 || PlayerInfo == 1
|| PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4 || PlayerInfo == 7
|| PlayerInfo == 9 || PlayerInfo == 10)
{
SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
return 1;
}
if(NekoPljacka == 1)
{
SendClientMessage(playerid,COLOR_GREY, "* Neko vec pljacka banku!");
return 1;
}
if(PlayerInfo >= 1)
{
SendClientMessage(playerid, COLOR_GREY, "* Vec ste pljackali. Sacekajte malo");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 2, 2309.9187,-4.9550,26.7422))
{
if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40)
{
if(success == 1)
{
SendClientMessage(playerid, COLOR_RED, "* Pljackate banku!! Ostanite na mestu pljacke ==95 sekundi==!");
SendClientMessageToAll(COLOR_RED, "Neko pokusava da opljacka banku!");
RobbingTime(playerid) = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
WantedPoints = 5;
PlayerInfo = 900;
BankRobbedRecently = 1;
SetTimer("UnsetBankRob",1000,false);
}
else
{
SendClientMessage(playerid, COLOR_RED, "* Niste uspeli da opljackate banku!");
WantedPoints = 2;
PlayerInfo = 500;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Potrebno vam je oruzije da bi opljackali banku!");
return 1;
}
}
else
{
return SendClientMessage(playerid, COLOR_GREY, "* Niste na mestu za pljackanje banke!");
}
return 1
}
{
new success = random(2);
if(BankRobbedRecently == 1)
{
SendClientMessage(playerid, COLOR_GREY, "* Banka je vec opljackana, pokusajte kasnije");
return 1;
}
if(PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 3|| PlayerInfo == 4
|| PlayerInfo == 7 || PlayerInfo == 9 || PlayerInfo == 10 || PlayerInfo == 1
|| PlayerInfo == 2 || PlayerInfo == 3 || PlayerInfo == 4 || PlayerInfo == 7
|| PlayerInfo == 9 || PlayerInfo == 10)
{
SendClientMessage(playerid, COLOR_GREY, "Niste clan Bande/Mafije !");
return 1;
}
if(NekoPljacka == 1)
{
SendClientMessage(playerid,COLOR_GREY, "* Neko vec pljacka banku!");
return 1;
}
if(PlayerInfo >= 1)
{
SendClientMessage(playerid, COLOR_GREY, "* Vec ste pljackali. Sacekajte malo");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 2, 2309.9187,-4.9550,26.7422))
{
if(GetPlayerWeapon(playerid) >= 24 && GetPlayerWeapon(playerid) <= 40)
{
if(success == 1)
{
SendClientMessage(playerid, COLOR_RED, "* Pljackate banku!! Ostanite na mestu pljacke ==95 sekundi==!");
SendClientMessageToAll(COLOR_RED, "Neko pokusava da opljacka banku!");
RobbingTime(playerid) = 95;
RobBankTimer = SetTimerEx("RobBank",1000,true,"i",playerid);
WantedPoints = 5;
PlayerInfo = 900;
BankRobbedRecently = 1;
SetTimer("UnsetBankRob",1000,false);
}
else
{
SendClientMessage(playerid, COLOR_RED, "* Niste uspeli da opljackate banku!");
WantedPoints = 2;
PlayerInfo = 500;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "* Potrebno vam je oruzije da bi opljackali banku!");
return 1;
}
}
else
{
return SendClientMessage(playerid, COLOR_GREY, "* Niste na mestu za pljackanje banke!");
}
return 1
}
