Skripta koju koristim:GF edit
Detaljan opis problema:Radio sam po tutorialu i ne znam sta nije dobro,ako mozete da ispravite
Dio skripte:
}
if(PlayerInfo[playerid][pKosenje] > 0)
{
if(PlayerToPoint(5.0, playerid,1911.8610,-1232.2232,16.2917,5.0))//cp1
{
if(PlayerInfo[playerid][pKosenje] == 1)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)//tu stavite id od vozila za kosenje
{
PlayerInfo[playerid][pKosenje] = 2;// dodajemo vrijednost da se slucajno ne pogodi isti cp, ovo nije potrebno
SetPlayerCheckpoint(playerid,1951.8172,-1161.1132,20.5366,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,2016.3817,-1187.2028,20.0796))//cp2
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 3;//
SetPlayerCheckpoint(playerid,2048.7138,-1169.8002,22.9117,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1901.6845,-1160.4835,23.7888))//cp3
{
if(PlayerInfo[playerid][pKosenje] == 3)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 4;//
SetPlayerCheckpoint(playerid,1993.0469,-1238.8083,20.0227,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1869.2459,-1208.5030,19.8176))//cp4
{
if(PlayerInfo[playerid][pKosenje] == 4)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 5;//
SetPlayerCheckpoint(playerid,1921.3421,-1214.9517,19.2334,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1951.8172,-1161.1132,20.5366))//cp5
{
if(PlayerInfo[playerid][pKosenje] == 5)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 6;//
SetPlayerCheckpoint(playerid,1869.2459,-1208.5030,19.8176,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1993.0469,-1238.8083,20.0227))//cp6
{
if(PlayerInfo[playerid][pKosenje] == 6)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 7;//
SetPlayerCheckpoint(playerid,2048.7138,-1169.8002,22.9117,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1901.6845,-1160.4835,23.7888))//cp7
{
if(PlayerInfo[playerid][pKosenje] == 7)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 8;//
SetPlayerCheckpoint(playerid,2017.8009,-1165.6214,21.1927,5.0);//
}
}
}
if(PlayerToPoint(5.0, playerid,1957.7402,-1242.5053,19.4383))//cp n-zi
{
if(PlayerInfo[playerid][pKosenje] == 8)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 0;//
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_GREEN ,"*Kosenje uspesno zavrseno");
GivePlayerMoney(playerid, 1000);
SetVehicleToRespawn(Veh);
SendClientMessage(playerid, COLOR_CORAL ,"Zarada = 1000$");
}
}
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):/
Molim vas da mi pomognete izbacuje mi 25 erora da nebi postovao i erore molim vas da ispravite sta nije dobro,Hvala unapred
A evo ipak i erora,ovo pre nego sto sam ubacio cp-ove nije bilo :
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5240) : warning 202: number of arguments does not match definition
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5336) : error 017: undefined symbol "COLOR_CORAL"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5550) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5552) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5554) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5556) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5561) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5567) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5569) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5571) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5576) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5582) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5584) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5587) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5592) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5598) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5600) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5603) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5608) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5614) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5616) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5619) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5624) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5630) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5632) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5635) : error 010: invalid function or declaration
C:\Documents and Settings\zoran\Desktop\ne diraj\bug-rpg.pwn(5640) : error 021: symbol already defined: "JBC_TogglePlayerControllable"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Ako ti je 25 errora negdje si zaboravio zagradu
Citat: Apokalipsa poslato Jun 04, 2011, 19:38:25 POSLE PODNE
Ako ti je 25 errora negdje si zaboravio zagradu
A ja bas nigde ne mogu da nadjem zagradu xD