Balkan SA:MP

San Andreas Multiplayer - www.sa-mp.com => Tutorijali u vezi SA-MPa => Temu započeo: []Flynâ„¢ poslato Decembar 31, 2011, 13:24:50 POSLE PODNE

Naslov: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Decembar 31, 2011, 13:24:50 POSLE PODNE
(http://ch-slike.com/images/lznFC.png)

(http://ch-slike.com/images/k4zcB.jpg)




Prvi korak:

-Prvo cemo da kreiramo vozila namenjena za Rent.
-Kako bi to trebalo da izgleda?

Ovako:


Rent[0] = AddStaticVehicle(IDAUTA, X, Y, Z, A,BOJA1, BOJA2);
Rent[1] = AddStaticVehicle(IDAUTA, X, Y, Z, A,BOJA1, BOJA2);
Rent[2] = AddStaticVehicle(IDAUTA, X, Y, Z, A,BOJA1, BOJA2);
Rent[3] = AddStaticVehicle(IDAUTA, X, Y, Z, A,BOJA1, BOJA2);
Rent[4] = AddStaticVehicle(IDAUTA, X, Y, Z, A,BOJA1, BOJA2);


Primer: Rent[0] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2);
Rent[1] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2);
Rent[2] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2);
Rent[3] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2);
Rent[4] = AddStaticVehicle(550,1560.7578,-2260.6877,13.3635,89.9114,2,2);

Nesto vise o AddStaticVehicle funkciji ovde: http://wiki.sa-mp.com/wiki/AddStaticVehicle



-Sada da definiramo ovo Rent[0], Rent[1], Rent[2], Rent[3], Rent[4] ...
-Gore gde su vam ostali new, dodajte ovako:


new Rent[5];

-Mi smo kreirali 5 vozila, ali cemo staviti za jedan vise (ne zato sto ja tako kazem, nego zato sto tako treba)  :)




-Sada moramo napraviti public za Rent vozila koji cemo posle koristiti.

forward RentVozila(carid)
Public RentVozila(carid)
{
for(new i = 0; i < sizeof(Rent); i++)
{
if(carid == Rent[i]) return 1;
}
return 0;
}








Drugi Korak:

-Sada treba da napravimo komandu i poruku kada igrac udje u Rent vozilo,

Komanda:


CMD:rentaj(playerid,params[])
{
new string[128];
if (GetPlayerMoney(playerid) <  150)//Ako igrac nema 150 $, nece moci da renta.
{
SendClientMessage(playerid, COLOR_GRAD2, "Nemas dovoljno Novca!");
return 1;
}
if(Rentano[playerid] != 299)//Proverava da li vec imas rentano vozilo.
{
SendClientMessage(playerid, SIVA, "Moras prvo da vratis iznajmljeno vozilo.");
return 1;
}
for(new i=0; i<MAX_PLAYERS; i++)
{
if(Rentano[i] == GetPlayerVehicleID(playerid))//Ako je neko rentao vozilo, neces ga moci rentati
{
SendClientMessage(playerid, SIVA, "Neko je vec rentao ovo vozilo.");
return 1;
}
}
GivePlayerMoney(playerid,-150);//Oduzima igracu 150$
Rentano[playerid] = GetPlayerVehicleID(playerid);//Postavlja igracu rent vozilo(da drugi nmg rentati)
PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0);// Pusta neke zvuke...
format(string, sizeof(string), "~r~/unrentcar~n~~g~/lock.");//Tekst koji ce biti u GameTextu
SendClientMessage(playerid, ZUTA, "Prijatan dan!");// ispisuje poruku igracu
TogglePlayerControllable(playerid, 1);//Odmrzava igraca - Omogucava mu da se krece
GameTextForPlayer(playerid, string, 5000, 3);// Prikazuje GameText
return 1;
}





CMD:unrentaj(playerid,params[])
{
    new idcar = GetPlayerVehicleID(playerid);
if(Rentano[playerid] != 299)
{
if(idcar == Rentano[playerid])
{
TogglePlayerControllable(playerid, 1);
}
  SetVehicleToRespawn(Rentano[playerid]);
Rentano[playerid] = 299;
SendClientMessage(playerid,CRVENA,"Vratio si iznajmljeno vozilo!");
}
return 1;
}






-Sada trebamo napraviti da kada igrac udje u vozilo, da ne moze da vozi a da ne renta.

pod public OnPlayerStateChange dodajte ovako:

if(newstate == 2)
{
if(RentVozila(newcar))
{
if (Rentano[playerid] != newcar)
{
SendClientMessage(playerid,ZELENA,"========== RENT VOZILO ==========");
SendClientMessage(playerid,LJUBICASTA,"Da rentas: /rentcar .");
SendClientMessage(playerid,LJUBICASTA,"Da izadjes: /exitcar .");
TogglePlayerControllable(playerid, 0);// Freeza igraca, da ne moze da pobegne
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
}
else
{
return 1;
}
  }
}


- Zaboravio sam da definiram "Rentano", tamo gde su vam ostali new, dodajte:

new Rentano[MAX_PLAYERS];



To bi bilo to.
Ako imate pitanja pitajte u temi.....

Moguce da ima gresaka, tako da ako primetite, prijavite.



TuTorial by JoXy_
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Nxidza poslato Decembar 31, 2011, 13:41:35 POSLE PODNE
Dobar tutorial ! :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: KombinatoR poslato Decembar 31, 2011, 13:45:13 POSLE PODNE
bravo joxy, odlican tut ;)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Nitko i ništa poslato Decembar 31, 2011, 13:46:51 POSLE PODNE
svaka cast tut je premocan  :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Dado000 poslato Decembar 31, 2011, 14:30:31 POSLE PODNE
Dobar tut :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: ѕєуzιι¢н™.amx poslato Decembar 31, 2011, 17:09:03 POSLE PODNE
Odlican tut pomoci ce mi za rent firmu, ty
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Billie Joe Armstrong poslato Decembar 31, 2011, 17:27:05 POSLE PODNE
nije loše , ali zapamti da samp kreće od 0 , znači prvo ti ide Rent[0] , znači da možeš 6 vozila kreirati od arraya [6]
Naslov: Odg: [TuT] Rent Vozila
Poruka od: [UG]Cile poslato Januar 01, 2012, 08:26:14 PRE PODNE
nevalja nista -.-
pa daj objasni ljudima gdje ce stavit ovo rent[0] i ostalo ... pod koji public ...
Ovo je sigurno bilo za pocetnike, ali oni pocetnici nece shvatit ovo ..
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Nxidza poslato Januar 01, 2012, 08:35:49 PRE PODNE
Citat: [BCL] Cile poslato Januar 01, 2012, 08:26:14 PRE PODNE
nevalja nista -.-
pa daj objasni ljudima gdje ce stavit ovo rent[0] i ostalo ... pod koji public ...
Ovo je sigurno bilo za pocetnike, ali oni pocetnici nece shvatit ovo ..

Momak,da si video da je dao sajt ja mislim da ne bi to pricao, svako ko je pocetnik naravno da ce pogledati taj sajt a tamo pise gde da se postavi ,tj imas primer :

public OnGameModeInit( )
{
    // Add a Hydra to the game
    AddStaticVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);

    return 1;
}
eto ukoliko ne znas da udjes na sajt,dao sam ti  sta pise tacno na njemu ! ;)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Tong1950Po poslato Januar 01, 2012, 12:57:29 POSLE PODNE
Odlican tut!
Naslov: Odg: [TuT] Rent Vozila
Poruka od: KombinatoR poslato Januar 01, 2012, 14:25:00 POSLE PODNE
Citat: [BCL] Cile poslato Januar 01, 2012, 08:26:14 PRE PODNE
nevalja nista -.-
pa daj objasni ljudima gdje ce stavit ovo rent[0] i ostalo ... pod koji public ...
Ovo je sigurno bilo za pocetnike, ali oni pocetnici nece shvatit ovo ..


kladim se da ti NISI pocetnik....hahahahahaha



kao sto sam rekao,decko je sve lijepo objasnio i svaka cast !!!
ODLICAN TUT !
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 01, 2012, 19:22:42 POSLE PODNE
Citat: [BCL] Cile poslato Januar 01, 2012, 08:26:14 PRE PODNE
nevalja nista -.-
pa daj objasni ljudima gdje ce stavit ovo rent[0] i ostalo ... pod koji public ...
Ovo je sigurno bilo za pocetnike, ali oni pocetnici nece shvatit ovo ..

Ja u tutorialu ne vidim nigde rent[0], a za ovo gde sta treba ubaciti, sve ti lepo pise.  ;)




Ostali, hvala.  :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Kunnaâ„¢ poslato Januar 03, 2012, 13:57:24 POSLE PODNE
Odlicno  8) 8)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: robi_97 poslato Januar 03, 2012, 16:10:41 POSLE PODNE
Svaka čast to je to sto se trazi hvala 100000000000000000/10
Naslov: Odg: [TuT] Rent Vozila
Poruka od: V_More poslato Januar 03, 2012, 16:45:53 POSLE PODNE
Jedino posto je za pocetnike moras napravit jos /exitcar ;)

Ostalo: 10/10!

Naslov: Odg: [TuT] Rent Vozila
Poruka od: Mr.Gagi poslato Januar 03, 2012, 17:18:41 POSLE PODNE
Dobar tutorijal svidja mi se. :)
Samo dodaj jos da treba da definisu new Rentano[MAX_PLAYERS]; Dobio sam par pm-ova za to kako da definisu, a to je dobro znaci da ljudi koriste tutorijal
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 04, 2012, 01:00:34 PRE PODNE
Citat: |BU| Vectro64 poslato Januar 03, 2012, 16:45:53 POSLE PODNE
Jedino posto je za pocetnike moras napravit jos /exitcar ;)

Ostalo: 10/10!

Hvala :)

CMD:izadji(playerid,params[])
{
  if(IsPlayerInAnyVehicle(playerid))
  {
      RemovePlayerFromVehicle(playerid);
      TogglePlayerControllable(playerid,1);
  }
  return 1;
}





Citat: [TL:RP]Mr.Gagi poslato Januar 03, 2012, 17:18:41 POSLE PODNE
Dobar tutorijal svidja mi se. :)
Samo dodaj jos da treba da definisu new Rentano[MAX_PLAYERS]; Dobio sam par pm-ova za to kako da definisu, a to je dobro znaci da ljudi koriste tutorijal
Hvala, dodacu... :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Nitko i ništa poslato Januar 04, 2012, 16:13:47 POSLE PODNE
sta ti HTML kod radi ovdje  :D
makni ovo
Naslov: Odg: [TuT] Rent Vozila
Poruka od: ѕєуzιι¢н™.amx poslato Januar 06, 2012, 03:26:52 PRE PODNE
Odlicno posluzit ce ty
10/10
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 06, 2012, 12:03:16 POSLE PODNE
Hvala!  :)

Citat: [UG]SpawneR poslato Januar 06, 2012, 10:51:33 PRE PODNE
E super TUT a sto nebi dole skroz na kraju sve to sto si gore pricao spojio u primer :D 10/10    ja se zbunim negde pa zato kazem da sve spojis kako bi to trebalo da izgleda ili mi posalji na PM  :-*
Napravicu ti FS pa cu ti poslati, malo kasnije...
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Spaka poslato Januar 06, 2012, 12:24:45 POSLE PODNE
Svaka cast.
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Gotti747 poslato Januar 06, 2012, 12:35:41 POSLE PODNE
Dobar tutorijal..
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 09, 2012, 13:25:14 POSLE PODNE
Citat: [BU]Spaka poslato Januar 06, 2012, 12:24:45 POSLE PODNE
Svaka cast.
Citat: [TL:RP] Gotti747 poslato Januar 06, 2012, 12:35:41 POSLE PODNE
Dobar tutorijal..

Hvala  :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: #marcus. poslato Januar 09, 2012, 15:55:45 POSLE PODNE
Citat: JoXy_ poslato Januar 01, 2012, 19:22:42 POSLE PODNE
Citat: [BCL] Cile poslato Januar 01, 2012, 08:26:14 PRE PODNE
nevalja nista -.-
pa daj objasni ljudima gdje ce stavit ovo rent[0] i ostalo ... pod koji public ...
Ovo je sigurno bilo za pocetnike, ali oni pocetnici nece shvatit ovo ..

Ja u tutorialu ne vidim nigde rent[0], a za ovo gde sta treba ubaciti, sve ti lepo pise.  ;)




Ostali, hvala.  :)



Nevidis nigdje rent[0] jer nisi stavio, a nisi stavio jer neznas koristit arrayeve (polja).


Ako si definirao

new Rent[6];


Onda ti mozes staviti i 6 vozila tu, istina, nemozes koristiti Rent[6] ali zato tu imas Rent[0], a to znaci da imas ovako:

Rent[0]
Rent[1]
Rent[2]
Rent[3]
Rent[4]
Rent[5]

Ovo tvoje je uredu, ali imas neiskoristeni prostor u memoriji koji se ipak koristi, varijablu Rent[0].


Nadam se da sam pomogao na nek nacin.  ;)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Billie Joe Armstrong poslato Januar 09, 2012, 16:09:21 POSLE PODNE
#marcus - samo si iskopirao od mene ništa drugo nisi stavio novo.
Naslov: Odg: [TuT] Rent Vozila
Poruka od: #marcus. poslato Januar 09, 2012, 16:25:33 POSLE PODNE
Citat: Get busy living or Get busy dying poslato Januar 09, 2012, 16:09:21 POSLE PODNE
#marcus - samo si iskopirao od mene ništa drugo nisi stavio novo.


Ništa nisam iskopirao samo sam malo detaljnije objasnio te njemu pokusao dokazati da si ti u pravu
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 13, 2012, 03:30:10 PRE PODNE
oK, oK... Shvatio sam, ali sam navikao ovako da radim.   >:(
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Billie Joe Armstrong poslato Januar 13, 2012, 03:44:38 PRE PODNE
Dobro , ali kada loopaš onda ti početna vrijednost varijable mora biti 1 , ako krećeš od 1.
Naslov: Odg: [TuT] Rent Vozila
Poruka od: [UG]Cile poslato Januar 13, 2012, 10:24:08 PRE PODNE
Hvala, pomoci ce mi
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 15, 2012, 01:00:46 PRE PODNE
Hvala  :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: [BU] Misur poslato Januar 15, 2012, 13:40:55 POSLE PODNE
Citat: Nxidza poslato Decembar 31, 2011, 13:41:35 POSLE PODNE
Dobar tutorial ! :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: K4[Я]!K3 poslato Januar 15, 2012, 14:42:42 POSLE PODNE
Citat: [BUL] Cile poslato Januar 13, 2012, 10:24:08 PRE PODNE
Hvala, pomoci ce mi
Ako se nemožeš odlučit, ja mogu :)
Zabrana pisanja 48h.
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Poslednji Don poslato Januar 15, 2012, 17:03:50 POSLE PODNE
Dobar TuT, meni ce licno mnogo pomoci. Hvala. 
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Januar 22, 2012, 05:10:14 PRE PODNE
Hvala.  :)



Update, fixani arrayi(nije da nisu radili, vec je bolje ovako)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: [BU]Davidoff poslato Januar 23, 2012, 17:37:22 POSLE PODNE
Dobar tutorial
Naslov: Odg: [TuT] Rent Vozila
Poruka od: aaaaaaaaaaaaaa23 poslato Februar 08, 2012, 16:21:07 POSLE PODNE
KGB Forum c/p !Ili obrnuto..:S
http://forum.kgb-hosting.com/showthread.php?50599-Scripting-Rent-vozila
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Februar 08, 2012, 16:27:44 POSLE PODNE
Citat: sTrumF poslato Februar 08, 2012, 16:21:07 POSLE PODNE
KGB Forum c/p !Ili obrnuto..:S
http://forum.kgb-hosting.com/showthread.php?50599-Scripting-Rent-vozila
Hahaha, poseti ti taj link jos jednom i vidi sta pise na kraj Tutoriala  :-*
Naslov: Odg: [TuT] Rent Vozila
Poruka od: milan_95 poslato Februar 19, 2012, 23:19:12 POSLE PODNE
Odlican TUT, svaka cast, ekstra za nas pocetnike :D
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Rollman poslato Februar 20, 2012, 10:16:21 PRE PODNE
Kada postavim forward RentVozila(carid)
Izbaci mi ovaj error

C:\Documents and Settings\Alen\Desktop\Lester Gaming v1.0\gamemodes\LG.pwn(58) : error 001: expected token: ";", but found "-identifier-"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.


U cemu je problem?
Naslov: Odg: [TuT] Rent Vozila
Poruka od: milan_95 poslato Februar 20, 2012, 12:09:31 POSLE PODNE
Verovatno nisi stavio ; na kraju forwarda znaci moras staviti ovako  forward RentVozila(carid);  ....
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Artieâ„¢ poslato Februar 20, 2012, 16:08:04 POSLE PODNE
super tutorial  :)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Blaeks poslato Februar 20, 2012, 20:18:28 POSLE PODNE
Svaka cast, korisno i tacno uradjeno posluzice za Gamemodove od 0  8)
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Don_Region poslato Jul 01, 2012, 23:08:54 POSLE PODNE
Ovo je dobro pomoglo mi je a mozeli neko napravit tut kako postaviti neka vozila da su naprodaju?
Naslov: Odg: [TuT] Rent Vozila
Poruka od: [BU]Davidoff poslato Avgust 17, 2012, 03:02:39 PRE PODNE
Public RentVozila(carid)
{
for(new i = 0; i < sizeof(Rent); i++)
{
if(carid == Rent[i]) return 1;
}
return 0;
}

Izivinjavam se sto postam i ako je tema stara,ali mi hitno treba pomoc,gdje da ubacim ovo,mislim gdje da ga stavim u skripti?
Naslov: Odg: [TuT] Rent Vozila
Poruka od: []Flynâ„¢ poslato Avgust 17, 2012, 21:13:18 POSLE PODNE
Citat: Jeffery "OG Loc" poslato Avgust 17, 2012, 03:02:39 PRE PODNE
Public RentVozila(carid)
{
for(new i = 0; i < sizeof(Rent); i++)
{
if(carid == Rent[i]) return 1;
}
return 0;
}

Izivinjavam se sto postam i ako je tema stara,ali mi hitno treba pomoc,gdje da ubacim ovo,mislim gdje da ga stavim u skripti?
Bilo gde, samo da nije u neki callback, najbolje skroz na kraj.
Naslov: Odg: [TuT] Rent Vozila
Poruka od: sch poslato Avgust 18, 2012, 07:52:24 PRE PODNE
Odličan tutorijal,svaka čast.!
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Dodo_Shadow poslato Avgust 22, 2012, 14:20:35 POSLE PODNE
napravio sam na state change ovo
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == 2)
{
if(RentVozila(newcar))
{
if (Rentano[playerid] != newcar)
{
SendClientMessage(playerid,ZELENA,"========== RENT VOZILO ==========");
SendClientMessage(playerid,LJUBICASTA,"Da rentas: /rentcar .");
SendClientMessage(playerid,LJUBICASTA,"Da izadjes: /exitcar .");
TogglePlayerControllable(playerid, 0);// Freeza igraca, da ne moze da pobegne
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
}
else
{
return 1;
}
  }
}

ali mi izbaci erore i varninge
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(384) : warning 201: redefinition of constant/macro (symbol "COLOR_GREY")
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(452) : warning 202: number of arguments does not match definition
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(452) : warning 202: number of arguments does not match definition
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(452) : warning 202: number of arguments does not match definition
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(452) : warning 202: number of arguments does not match definition
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(879) : warning 209: function "cmd_makeadmin" should return a value
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1077) : warning 209: function "cmd_nitro" should return a value
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1189) : error 004: function "RentVozila" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1191) : error 017: undefined symbol "newcar"
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1205) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1205) : error 004: function "Streamer_OnPlayerEnterCP" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1210) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1210) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1210) : error 004: function "Streamer_OnPlayerLeaveCP" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1215) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1215) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1215) : error 004: function "Streamer_OnPlayerEnterRaceCP" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1220) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1220) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1220) : error 004: function "Streamer_OnPlayerLeaveRaceCP" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1225) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1225) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1225) : error 004: function "OnRconCommand" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1230) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1230) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1230) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1235) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1235) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1235) : error 004: function "OnObjectMoved" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1240) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1240) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1240) : error 004: function "OnPlayerObjectMoved" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1245) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1245) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1245) : error 004: function "Streamer_OnPlayerPickUpPickup" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1250) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1250) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1250) : error 004: function "OnVehicleMod" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1255) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1255) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1255) : error 004: function "OnVehiclePaintjob" is not implemented
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1260) : warning 225: unreachable code
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1260) : error 029: invalid expression, assumed zero
C:\Users\Buljan\Desktop\USS\gamemodes\USSv1.pwn(1260) : error 004: function "OnVehicleRespray" is not implemented

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

Naslov: Odg: [TuT] Rent Vozila
Poruka od: [BU]Blaze poslato Septembar 24, 2012, 22:48:18 POSLE PODNE
Svaka cast. :)!
Sve pohvale TuT je odlican
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Matej.Vercettiâ„¢ poslato Septembar 25, 2012, 22:44:26 POSLE PODNE
Dobar tut
Naslov: Odg: [TuT] Rent Vozila
Poruka od: Dacho poslato Septembar 25, 2012, 22:55:22 POSLE PODNE
Odlican tut,lako za shvatiti,sve objasnjeno  :)