Vidim da većinu ovdje muÄi kako da naprave posao, pa evo objasnit ću u par koraka kako da napravite posao. To ću objasniti na primjeru kosaÄa trave, a i stale možete sliÄno praviti ako upotrebite svoju maÅ¡tu. Ovo je tutorijal za Gf mod.
Tutorijal:
Za poÄetaj pronadjite
enum pInfo
i tamo dodajte varijablu za posao:
pFuel,
pMarried,
pMarriedTo[128],
pKosenje, <---- ovo dodajte
*zatim udjite u debug mod i snimite nekoliko koordinata za cp-ove za kosenje sa komandom /save
Kada ste ovo napravili potrebna je i komanda za poceti kosenje npr /djurinecarolijekosenje
a ona bi izgledala npr ovako:
if(strcmp(cmd, "/djurinecarolijekosenje", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pKosenje] > 0)
{
SendClientMessage(playerid, COLOR_GREY, "*Vec imas aktivirano kosenje!");
return 1;
}
if(PlayerInfo[playerid][pJob] == id posla)//<---- tu si stavite id koji stavite za taj posao
{
SendClientMessage(playerid,COLOR_PINK,"*Aktivirao si kosenje");
PlayerInfo[playerid][pKosenje] = 1;//---- tu stavite vrijednos 1 za kosenje za toga igraca
SetPlayerCheckpoint(playerid, x1,y1,zy,radius1);// tu stavite koordinate prvog cp-a
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nemas posao kosaca trave!");
return 1;
}
}
return 1;
}
kada ste to napravili jos morate odraditi sve cp-ove, a za njih nadjite ovo:
public OnPlayerEnterCheckpoint(playerid)
pod tim dodajte ovo:
if(PlayerInfo[playerid][pKosenje] > 0)
{
//--------ruta1
if(PlayerToPoint(radius, playerid,x1,y1,z1))//cp1
{
if(PlayerInfo[playerid][pKosenje] == 1)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == id vozila za kosenje)//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,x2,y2,z2,radius2);//
}
}
}
if(PlayerToPoint(radius2, playerid,x2,y2,z2))//cp2
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == id vozila za kosenje)
{
PlayerInfo[playerid][pKosenje] = 3;//
SetPlayerCheckpoint(playerid,x3,y3,z3,radius3);//
}
}
}
.
.
.
.
.
.
.
.
if(PlayerToPoint(radiusn, playerid,xn,yn,zn))//cp n-zi
{
if(PlayerInfo[playerid][pKosenje] == n)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == id vozila za kosenje)
{
PlayerInfo[playerid][pKosenje] = 0;//
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_GREEN ,"*kosenje uspjesno zavrseno");
//---------------------------------------------------------------ovo ispod nije potrebno
GivePlayerMoney(playerid, 100);
SendClientMessage(playerid, COLOR_CORAL ,"Zarada = 100$");
}
}
}
super je djuro, mislim da ti i don correli najbolje skriptate na balkanu
Dobar tutorial zerocoolos, i ja ću uskoro poćeti praviti tutoriale kad naÄ'em vremena od tog skriptanja i rada.
Odlican Tutorial Djuro :D
Svaka cast..
samo me interesuje jel se mora preko debuga,il moze i normalno kad se udje u igru ?
a jao johny pa daj ti ljepo da ne pitas glupa pitanja prvo probaj.. pa naravno da se moze u oboje...
Citat: Chrome poslato Avgust 30, 2009, 01:19:34 PRE PODNE
a jao johny pa daj ti ljepo da ne pitas glupa pitanja prvo probaj.. pa naravno da se moze u oboje...
radije presuti,nego mi takve odgovre ostavljat..mogao si lijepo reci moze u oboje naravno,a ne jao ovo ono...ajde ba :mad:
nice tut...
btw: u pravu je bullet kad ti tako odgovara, zato sto ti postavljas glupa pitanja
isto oono xD svaka cast ;D
OMg...
Ovako pratim sve mjenjam idioe od check pointa i nakraju mi izbaci erora koliko ti dusa hocu >:(
Citat: [ST]James_Ding poslato Decembar 27, 2009, 20:27:31 POSLE PODNE
OMg...
Ovako pratim sve mjenjam idioe od check pointa i nakraju mi izbaci erora koliko ti dusa hocu >:(
Onaj zadnji code nije dovrsen...
Citat: dinkO14 poslato Decembar 27, 2009, 20:28:46 POSLE PODNE
Citat: [ST]James_Ding poslato Decembar 27, 2009, 20:27:31 POSLE PODNE
OMg...
Ovako pratim sve mjenjam idioe od check pointa i nakraju mi izbaci erora koliko ti dusa hocu >:(
Onaj zadnji code nije dovrsen...
PLS moze li iko napraviti tut ali da radi :S
Ili da ga je malo lakse skontati ::)
Citat: [ST]James_Ding poslato Decembar 28, 2009, 09:29:51 PRE PODNE
Citat: dinkO14 poslato Decembar 27, 2009, 20:28:46 POSLE PODNE
Citat: [ST]James_Ding poslato Decembar 27, 2009, 20:27:31 POSLE PODNE
OMg...
Ovako pratim sve mjenjam idioe od check pointa i nakraju mi izbaci erora koliko ti dusa hocu >:(
Onaj zadnji code nije dovrsen...
PLS moze li iko napraviti tut ali da radi :S
Ili da ga je malo lakse skontati ::)
Gle ako sam ga ja skonto i meni radi i sve onda bi i ti trebo skontat ;)
Citat
PLS moze li iko napraviti tut ali da radi :S
Ili da ga je malo lakse skontati ::)
Ako ti je ovo teskoo za skontati onda stvarno ostavi se ti skriptanja......Djuro svaka cast odlican TUT
djuro ponosi se skonto sam tut ;D
ovako stavim komandu :
if(strcmp(cmd, "/kosenje", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pKosenje] > 0)
{
SendClientMessage(playerid, COLOR_GREY, "*Vec imas aktivirano kosenje!");
return 1;
}
if(PlayerInfo[playerid][pJob] == 17)//<---- tu si stavite id koji stavite za taj posao
{
SendClientMessage(playerid,COLOR_GREEN,"*Aktivirao si kosenje");
PlayerInfo[playerid][pKosenje] = 1;//---- tu stavite vrijednos 1 za kosenje za toga igraca
SetPlayerCheckpoint(playerid,1864.4889,-1249.3776,13.6663,2.0);// tu stavite koordinate prvog cp-a
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Nemas posao kosaca trave!");
return 1;
}
}
return 1;
}
A ovako ono za check pointe:
if(PlayerInfo[playerid][pKosenje] > 0)
{
//--------ruta1
if(PlayerToPoint(2.0, playerid,1864.4889,-1249.3776,13.6663))//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,1864.7886,-1193.2822,23.3659,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1864.7886,-1193.2822,23.3659))//cp2
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 3;//
SetPlayerCheckpoint(playerid,1878.5416,-1156.5952,23.9088,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1878.5416,-1156.5952,23.9088))//cp3
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 4;//
SetPlayerCheckpoint(playerid,1930.6313,-1147.0630,24.8303,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1930.6313,-1147.0630,24.8303))//cp4
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 5;//
SetPlayerCheckpoint(playerid,1969.7714,-1157.2837,20.9643,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1969.7714,-1157.2837,20.9643))//cp5
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 6;//
SetPlayerCheckpoint(playerid,2004.7880,-1147.5205,24.7107,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,2004.7880,-1147.5205,24.7107))//cp6
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 7;//
SetPlayerCheckpoint(playerid,2052.3052,-1147.0540,23.9317,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,2052.3052,-1147.0540,23.9317))//cp7
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 8;//
SetPlayerCheckpoint(playerid,2056.0249,-1204.4745,23.8858,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,2056.0249,-1204.4745,23.8858))//cp8
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 9;//
SetPlayerCheckpoint(playerid,2055.6821,-1249.3268,23.9113,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,2055.6821,-1249.3268,23.9113))//cp9
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 10;//
SetPlayerCheckpoint(playerid,2014.1779,-1249.7852,23.8505,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,2014.1779,-1249.7852,23.8505))//cp10
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 11;//
SetPlayerCheckpoint(playerid,1976.7894,-1234.7371,20.0469,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1976.7894,-1234.7371,20.0469))//cp11
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 12;//
SetPlayerCheckpoint(playerid,1946.8344,-1249.6489,19.4926,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1946.8344,-1249.6489,19.4926))//cp12
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 13;//
SetPlayerCheckpoint(playerid,1909.3494,-1249.2867,14.2117,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1909.3494,-1249.2867,14.2117))//cp13
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 14;//
SetPlayerCheckpoint(playerid,1883.2540,-1227.1531,15.8637,2.0);//
}
}
}
if(PlayerToPoint(2.0, playerid,1883.2540,-1227.1531,15.8637))//cp n-zi
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
PlayerInfo[playerid][pKosenje] = 0;//
DisablePlayerCheckpoint(playerid);
SendClientMessage(playerid, COLOR_GREEN ,"*kosenje uspjesno zavrseno");
//---------------------------------------------------------------ovo ispod nije potrebno
GivePlayerMoney(playerid, 100);
SendClientMessage(playerid, COLOR_GREEN ,"Zarada = 100$");
}
}
}
}
I u igri kad dodem uzmem posao upisem /kosenje i pise aktivirali ste kosenje pokaze mi se prvi cp ja dodem na njega i nista, nece da se pokaze sljedeci.
PLS HELPPP
Ovo moze i krace nemojte toliko razvuc
if(PlayerToPoint(2.0, playerid,1946.8344,-1249.6489,19.4926))
{
if(PlayerInfo[playerid][pKosenje] == 2)//
{
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)
{
new Veh = GetPlayerVehicleID(playerid);
if(PlayerToPoint(2.0, playerid,1946.8344,-1249.6489,19.4926)&&PlayerInfo[playerid][pKosenje] == 2&&Veh == 572)
{
Jeli neko zna sta tribam za ono plssss
gledaj, sve si napravio dobro, stvar je u id-u vozila, reagira ti samo na taj id koji si napisao i ako nije taj id nece ti pokazati novi cp... pogledaj koji ti je id kosilica pa ju stavi tu:
if(Veh == id kosilice!)
Posto vidim da si kod drugog cpa stavio da ide na treci sa 3 na cetvrti , onda pogledaj da sa prvog ide na drugi ili pogledaj dal is u tom prvom stavio id kosilice
Edit: Djuro posto si 1 sec pre mene xD ;D ;D
a kako cu saznat id kosilice??'
ja upisem /oldcar u autu kojem se dovezem do mjesta pise mi 361, udem u kosilicu opet pise 361,
572 Je ja mislim id kosilice ipak proveri na ovoj strani http://weedarr.wikidot.com/light-trucks-vans (http://weedarr.wikidot.com/light-trucks-vans)
Pa jel vidis gore da je vec bio taj id i ja sam bio u kosilici u igri i opet isto
a lol, ne id modela kosilice, vec id na kojem je kosilica u tvojem modu!
Sad me jebe nesto...Uvijek kad restartiram server promijeni mi se id vozila, a ja ne dodam niti jedno novo vozilo u scriptu.
Zasto tooo??
e a kako da napravim pickup jos da se zaposlim kao kosac trave?? :S
Potrazi komandu /join u GameModu i u nju ubaci taj posao i gdje zelis da bude taj "pickup"
Evo ljudi mozda je malo newbie pitanje al stvarno neznam...ovi treci kod gdje treba komandu namjestiti gdje da to nadem u gf modu...sta da upisem na ctrl+f pls odg brzo :D
Citat: ...:::---REZA---:::... poslato April 18, 2010, 22:42:15 POSLE PODNE
Evo ljudi mozda je malo newbie pitanje al stvarno neznam...ovi treci kod gdje treba komandu namjestiti gdje da to nadem u gf modu...sta da upisem na ctrl+f pls odg brzo :D
pod
public OnPlayerCommandText(playerid, cmdtext[])
kao i svaku komandu...
super tutorial zero....ja sam radio sa slicnim kodovima posao....ali uglavnom super je.... ;D ;D
ee sorry sta refresh-am ali treba mi pomoc :S
Sve napravim po ovom tutu i sve se normalno compile-a ali kad kucam komandu za pokrenit posao prikaze mi prvi CP i kad udem u njega nestane ali mi se ne prikaze i drugi CP...
Zasto??
koji gm koristis.
I daj nam redove di su ti cp.
EDIT: Ma glup sam nisam return 1; stavia :S stvar je rjesena...
Kako da namestim da tu imaju kosacice sa kojima se radi. Znam kako da ubacim kosacice ali kako da namestim da to budu samo kosacice za taj posao?
AddStaticVehicle (http://wiki.sa-mp.com/wiki/AddStaticVehicle)
TuT za vozila (http://balkan-samp.com/forum/index.php?topic=18121.0)
Znaci sa AddStaticVehicle kreiras vozilo gore ima forma kako treba da se uradi...
Onda pre nego sto stavis u OnGameModeInit uradis po onom tutu koji sam naveo gore..
Onda samo ovo izmenis:
if(IsOrgAuto(newcar))
{
if(PlayerInfo[playerid][pJob] == id posla){ }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY,"Nemate kljuc auta.");}
}
Znam da ti nije jasno ali pokusaj bar malo da povezes ako neuspes tu smo da pomognemo i vise :)
Kontam sta treba da radim. Hvala
Izvinjavam se za Refresh,ali moze te mi malo pomoci??
Uradim sve kao sto je na tut,i izbaci mi skroz nesto sto nisam ni menjo..a kad obrisem poso kosac trave..sve ok..mozete mi pomoci?? Hvala
D:\Balkan\gamemodes\srb.pwn(2072) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Balkan\gamemodes\srb.pwn(2098) : error 004: function "SafeGivePlayerMoney" is not implemented
D:\Balkan\gamemodes\srb.pwn(2128) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Balkan\gamemodes\srb.pwn(2129) : error 004: function "SafeGivePlayerWeapon" is not implemented
D:\Balkan\gamemodes\srb.pwn(2153) : error 004: function "SafeResetPlayerWeapons" is not implemented
D:\Balkan\gamemodes\srb.pwn(2281) : error 004: function "SetPlayerCriminal" is not implemented
D:\Balkan\gamemodes\srb.pwn(2286) : error 004: function "SetPlayerCriminal" is not implemented
D:\Balkan\gamemodes\srb.pwn(2402) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2406) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2417) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2429) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2433) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2445) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2449) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2453) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2457) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2461) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2465) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2469) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2473) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2477) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2481) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2493) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2497) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2501) : error 004: function "PlayerToPoint" is not implemented
D:\Balkan\gamemodes\srb.pwn(2505) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
fali ti negdje }
Hvala Zorane ;) sve je to super prvo sam imao 26 errora pa 4 pa 3 pa 1 pa sada imam 2 warninga :D nego ja prodem kroz cp (prvi) i nista, ne mice se na drugi, stavio sam radijus 30 ili 20 mozda preveliko?
Citat: Suzuki poslato Jun 28, 2011, 19:45:24 POSLE PODNE
Hvala Zorane ;) sve je to super prvo sam imao 26 errora pa 4 pa 3 pa 1 pa sada imam 2 warninga :D nego ja prodem kroz cp (prvi) i nista, ne mice se na drugi, stavio sam radijus 30 ili 20 mozda preveliko?
nesta si krivo napravio... prodji jos jednom tut i pozorno prati...
Nece :S prosao sam sve ispocetka, nesto me zeza jer kao da sam stavio krivi id vozila, i onda ne reagira CP, stavio sam id 572 (mower)ali ja kada IG kucam /veh mi dode dialog pa.. nezz vidjet cu sutra, stavit cu drugu komandu /veh p ukucat bas /veh 572 ali na samp wiki pise da je 572 mower :S nezz stvarno sta bi moglo bit, ali svejedno dobar tut, vidi se tko ima najbolji server na balkanu :D
Citat: Suzuki poslato Jun 28, 2011, 20:30:00 POSLE PODNE
Nece :S prosao sam sve ispocetka, nesto me zeza jer kao da sam stavio krivi id vozila, i onda ne reagira CP, stavio sam id 572 (mower)ali ja kada IG kucam /veh mi dode dialog pa.. nezz vidjet cu sutra, stavit cu drugu komandu /veh p ukucat bas /veh 572 ali na samp wiki pise da je 572 mower :S nezz stvarno sta bi moglo bit, ali svejedno dobar tut, vidi se tko ima najbolji server na balkanu :D
stavi kod pa cu pogledat...
Problem: Moze neko da mi objasni sto nece da mi se prebaci na sledeci CP kad prodjem kroz prvi.??
Slika: http://img651.imageshack.us/i/samp042re.png
evo napravio sam sve po tutu kako si rekao, nisam nista dodavao...
evo koda http://pastebin.com/iX9qbwrw
Hvala!Zasto?Pa imas svoj zakon server i ti pomazes (meni i osttalima) koji su ti konkurencija, svaka cast ;)
Citat: Suzuki poslato Jun 29, 2011, 07:10:59 PRE PODNE
evo napravio sam sve po tutu kako si rekao, nisam nista dodavao...
evo koda http://pastebin.com/iX9qbwrw
Hvala!Zasto?Pa imas svoj zakon server i ti pomazes (meni i osttalima) koji su ti konkurencija, svaka cast ;)
new Veh = GetPlayerVehicleID(playerid);
if(Veh == 572)//tu stavite id od vozila za kosenje
to ti je problem, stavio si model kosilice, al GetPlayerVehicleID ti uzima id vozila u modu, ne model...
mozes naci koji je id te kosilice u modu staviti to ili zamjeniti prvi red gore s:
new Veh = GetVehicleModel(GetPlayerVehicleID(playerid));
ahhaa xD oke skuzio sam, idem probat to sredit pa ti javim ;)
_________________________
Opet nece :S evo ovako sam stavio:
Citatpublic OnPlayerEnterCheckpoint(playerid)
if(PlayerInfo[playerid][pKosenje] > 0)
{
//--------ruta1
if(PlayerToPoint(10, playerid,1902.3007,-1178.7648,23.2088))//cp1
{
if(PlayerInfo[playerid][pKosenje] == 1)//
{
new Veh = GetVehicleModel(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,1894.7794,-1210.9839,18.2086, 10);//
}
}
}
nekuzim taj debug
gdje se to nalazi
Citat: Miris Old Spice poslato Jul 26, 2011, 16:17:57 POSLE PODNE
nekuzim taj debug
gdje se to nalazi
u GTA San Andreas folderu
To ti je tvoj neki "server" gdje nema nista znaci neam auta nista nista nista to vise sluzi za kordinate save-ati
Citat: [BM]Apokalipsa poslato Jul 26, 2011, 16:31:59 POSLE PODNE
Citat: Miris Old Spice poslato Jul 26, 2011, 16:17:57 POSLE PODNE
nekuzim taj debug
gdje se to nalazi
u GTA San Andreas folderu
To ti je tvoj neki "server" gdje nema nista znaci neam auta nista nista nista to vise sluzi za kordinate save-ati
znam to
jel crna icona
to mi je frend reko da je to za testanje cheateova
dali moze ovaj tut da se iskoristi za larp mod!?
ja sam pokusao napravavit i sve je ok sam sto nece da prebacuje na sledece pointe jedno u cita i nestane i to je to moze pomoc???
Kako da pokrenem Debug, jeli ot ona crna ikona na kojoj pise gore SAMP, a dole DBG?
Ako je to, jeli tu idem na Launch Debug ili Connect Localhost
Ma udji normalno na svoj server(kucni) i to radi..
Hvala pomoglo mi je ovo ;D
meni da nas 100 tutova ja opet necu znati
Citat: [PR]Wysky poslato Jul 29, 2011, 21:46:38 POSLE PODNE
meni da nas 100 tutova ja opet necu znati
Jbg, ima i takvih :D
Citat: Gotti747 poslato Jul 29, 2011, 21:54:33 POSLE PODNE
Citat: [PR]Wysky poslato Jul 29, 2011, 21:46:38 POSLE PODNE
meni da nas 100 tutova ja opet necu znati
Jbg, ima i takvih :D
pa da gore ovo stavim
a u cemu da to gore stavim
treba tut raditi od temelja a ne od krova :P
Problem cim ubacim posao izbaci mi ove errore, a kad ga izbrisem bude sve ok..u cemu je problem?? Znam kad pise 26 errora da negde fali zagrade, ali nzm sto mi kvari drugi deo skripte ako negde fali kod kosaca...
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2058) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2084) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2114) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2115) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2139) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2267) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2272) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2388) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2392) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2403) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2415) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2419) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2431) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2435) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2439) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2443) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2447) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2451) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2455) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2459) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2463) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2467) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2479) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2483) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2487) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2491) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Citat: PaVlOv poslato Avgust 06, 2011, 23:38:34 POSLE PODNE
Problem cim ubacim posao izbaci mi ove errore, a kad ga izbrisem bude sve ok..u cemu je problem?? Znam kad pise 26 errora da negde fali zagrade, ali nzm sto mi kvari drugi deo skripte ako negde fali kod kosaca...
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\pawno\include\JunkBuster.inc(3240) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2058) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2084) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2114) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2115) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2139) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2267) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2272) : error 004: function "SetPlayerCriminal" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2388) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2392) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2403) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2415) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2419) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2431) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2435) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2439) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2443) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2447) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2451) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2455) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2459) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2463) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2467) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2479) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2483) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2487) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Administrator\Desktop\The Blood Life Roleplay\gamemodes\FactionGame.pwn(2491) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Desava mi se isto sve sam kopiro al opet nece -.-"
ty Ä'uro ovo mi je trebalo
Odlican TuT
OMG znas koji si vec put refreshao staru temu !!!
Citat: Elvis_Hadjic poslato Februar 11, 2012, 17:43:40 POSLE PODNE
Citat: mario_kumanovac poslato Avgust 29, 2009, 21:39:59 POSLE PODNE
super je djuro, mislim da ti i don correli najbolje skriptate na balkanu
pa naravno neebi na ch bilo 400 igraca :D
OMG, jesi ti lud ! refreshao si temu staru pun k.
Kolovoz 29, 2009, 22:25:44 poslijepodne »
LOCK ovo admini !
ODLICNO *-
Citat: [YUB] Marquez poslato Februar 11, 2012, 21:36:55 POSLE PODNE
Citat: Elvis_Hadjic poslato Februar 11, 2012, 17:43:40 POSLE PODNE
Citat: mario_kumanovac poslato Avgust 29, 2009, 21:39:59 POSLE PODNE
super je djuro, mislim da ti i don correli najbolje skriptate na balkanu
pa naravno neebi na ch bilo 400 igraca :D
OMG, jesi ti lud ! refreshao si temu staru pun k. Kolovoz 29, 2009, 22:25:44 poslijepodne »
LOCK ovo admini !
zasto lock ? koristan je tut pa ako neko ima nes pitat neg pita ???
hvala mnogo mi je pomoglo ovo!! xD
Citat: BoboS poslato Januar 02, 2013, 22:53:17 POSLE PODNE
hvala mnogo mi je pomoglo ovo!! xD
Šta je tebi? šta refrešaš temu?