Započeo Bratic
•9. Feb. 2014.• Zaključano[Pomoc] Svi mogu da voze vozila
459
pregleda
14
postova
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
54
Postovi:
14
Teme:
Pridružio se:Jan. 2014
9. Feb. 2014.
Skripta koju koristim: GH:HP
Detaljan opis problema: Ovako svi mogu da voze sva kola makar to bio civil ili bilo sta hitno mi treba pomoc !
Dio skripte: evo sve cu namestiti sta je meni definisano i to
2320: forward IsACopCar(carid);
4815: public IsACopCar(carid) // LSPD
{
if((carid >= 1) && (carid <= 30))
{
return 1;
}
return 0;
}
11047: if(IsACopCar(newcar))
{
if(PlayerInfo == 1||PlayerInfo == 1) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY,"{F3FF02}[IZBACENI STE] {ff0000}Nemate kljuceve od ovog vozila.");}
}
Eto to je sve i zasto nece da izbaci ? 😢
Neke slike/video za lakse dobivanje pomoci(neobavezno):// Netrebaju
Detaljan opis problema: Ovako svi mogu da voze sva kola makar to bio civil ili bilo sta hitno mi treba pomoc !
Dio skripte: evo sve cu namestiti sta je meni definisano i to
2320: forward IsACopCar(carid);
4815: public IsACopCar(carid) // LSPD
{
if((carid >= 1) && (carid <= 30))
{
return 1;
}
return 0;
}
11047: if(IsACopCar(newcar))
{
if(PlayerInfo == 1||PlayerInfo == 1) { }
else {
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, COLOR_GREY,"{F3FF02}[IZBACENI STE] {ff0000}Nemate kljuceve od ovog vozila.");}
}
Eto to je sve i zasto nece da izbaci ? 😢
Neke slike/video za lakse dobivanje pomoci(neobavezno):// Netrebaju
Godfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,660
Postovi:
86
Teme:
Pridružio se:Avg. 2012
9. Feb. 2014.
Zasto bre ljudi ne radite kao array, nije mi jasno kako moze da vam bude lakse da radite kao public..Radi Array sistem spremanja, imas na forumu Sabljakov tut (Ja mislim da je njegov) :-*
Underboss
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
695
Postovi:
113
Teme:
Pridružio se:Avg. 2013
9. Feb. 2014.
ne mesaju se vozila vec svako moze da vozi auto od bilo koje org npr ja sam lider PD-a mogu da vozim auto od neke bande a kad si civil mozes da vozis bilo koji auto (od organizacije)
Godfather
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
240 / 250 XP
Početnik(0)
1,660
Postovi:
86
Teme:
Pridružio se:Avg. 2012
9. Feb. 2014.
Evo ti link radi po ovome, mnogo je lakse nego da pravis neke publice, aa i ako ih napravis, mnogo je tesko da nadjes gresko, ako je ima, a sto se tice array jako je bolji jer izbegavas mesanje ID-a vozila, stedis na redovim, imas samo 4 koraka kako bi ubacio vozila
http://balkan-samp.com/forum/index.php?topic=73073.msg510069#msg510069
http://balkan-samp.com/forum/index.php?topic=73073.msg510069#msg510069
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
54
Postovi:
14
Teme:
Pridružio se:Jan. 2014
9. Feb. 2014.
Neradi ni array sistem neznam sto evo ovako mi izbaci 😎
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(3962) : error 004: function "ShowStats" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4091) : error 004: function "SvetlaUgasena" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4102) : error 004: function "SetPlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4106) : error 004: function "SetPlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4110) : error 004: function "DisablePlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4260) : error 004: function "SendOwnerMessage" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4277) : error 004: function "SendOwnerMessage" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4561) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4565) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4576) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(458😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4592) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4596) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4600) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4604) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(460😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4612) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4616) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4620) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4624) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4636) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4640) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4644) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(464😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4652) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4670) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(3962) : error 004: function "ShowStats" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4091) : error 004: function "SvetlaUgasena" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4102) : error 004: function "SetPlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4106) : error 004: function "SetPlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4110) : error 004: function "DisablePlayerSpeedCap" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4260) : error 004: function "SendOwnerMessage" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4277) : error 004: function "SendOwnerMessage" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4561) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4565) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4576) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(458😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4592) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4596) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4600) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4604) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(460😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4612) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4616) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4620) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4624) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4636) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4640) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4644) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(464😎 : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4652) : error 004: function "PlayerToPoint" is not implemented
D:\Program Files\Modovi SAMP\Balkan Dynamic RPG 0.3x\gamemodes\BDRPG.pwn(4670) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
319
Postovi:
74
Teme:
Pridružio se:Dec. 2013
9. Feb. 2014.
svi radite sa array pa onda imate neke probleme kad dodati auto u gamemod-a postavljenje je ako
LSGCAR-autoa lsga
new LSGCAR;
imate 0-10 auta onda u definiciju dodate
new LSGCAR; i tako dalje onda postavite AddstaticVehicles ispod Ongamemodeinit .. i tako dajle
LSGCAR-autoa lsga
new LSGCAR;
imate 0-10 auta onda u definiciju dodate
new LSGCAR; i tako dalje onda postavite AddstaticVehicles ispod Ongamemodeinit .. i tako dajle
Hustler
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
71
Postovi:
17
Teme:
Pridružio se:Dec. 2013
10. Feb. 2014.
Treba da dodas ovo ! pod public OnPlayerStateChange(playerid, newstate, oldstate)
if(IsASPDCar(newcar)) { if(PlayerInfo == 1||PlayerInfo == 1) { } else { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, COLOR_GREY,"{FF0000}Nemas kljuceve od ovog vozila."); new Float:slx, Float:sly, Float:slz; GetPlayerPos(playerid, slx, sly, slz); JBC_SetPlayerPos(playerid, slx, sly, slz+2);} }Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava