Majitel ffredyk 168 Odesláno: 7. Listopad, 2009 Majitel Share Odesláno: 7. Listopad, 2009 Hi all .. Jelikoz samp 0.3 ma nove funkce tak vam ukazu jak se daji vyuzit napriklad v stunt modu.. Jdem rovnou na to.. Zrychleni auta: new Float:X,Float:Y,Float:Z,auto; auto = GetPlayerVehicleID(playerid); GetVehicleVelocity(auto,X,Y,Z); SetVehicleVelocity(auto,X*5,Y*5,Z); Skok auta: new Float:X,Float:Y,Float:Z,auto; auto = GetPlayerVehicleID(playerid); GetVehicleVelocity(auto,X,Y,Z); SetVehicleVelocity(auto,X,Y,Z+10); Auto Fix: Nahoru do modu: forward AutoFix(); OnGameModeInit: SetTimer("AutoFix",3000,1); public: public AutoFix() { for(new i=0;i { if(IsPlayerInAnyVehicle(i)) { new auto = GetPlayerVehicleID(i); RepairVehicle(auto); } } return 1; } Okamzite zastaveni auta: new auto = GetPlayerVehicleID(playerid); SetVehicleVelocity(auto,0,0,0); Kdybyste jeste neco chteli napiste do topicu.. napawnim Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 7. Listopad, 2009 Share Odesláno: 7. Listopad, 2009 Vcera sem tohle videl na nejakym zahranicnim stunt serveru a hned sem si to sel zkusit do pawna Ale tu rychlost sem nevedel Takze diky :thumbup: Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 8. Listopad, 2009 Author Majitel Share Odesláno: 8. Listopad, 2009 Nz.. A myslim, ze jsi to videl na GamerXu .. Jeste sem dneska dam podporu pro zmacknuti klaves.. Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 Jn na ty tlačítka by to bylo lepěí třeba na skok dát ALT jako speedhack xD Skok jako SHIFT atd.... ten autorepair sem hned použil jen čekám na ty tlačítka k tomu nic neumím xD Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 Nz.. A myslim, ze jsi to videl na GamerXu .. Jeste sem dneska dam podporu pro zmacknuti klaves.. GamerX to nebyl to vim jiste jen čekám na ty tlačítka k tomu nic neumím xD Az zjistis jak se to dela tak uvidis jak je to primitivni Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 a jjak to mám zjistit když sem to ještě nikdy neviděl xD Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 omg klikni na banany Link to comment Share on other sites More sharing options...
Marwin37 5 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 podle me je ten public autofix zbytecny ....... do OnPlayerUpdate dat jestli je ve vozidle a opravit to Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 8. Listopad, 2009 Author Majitel Share Odesláno: 8. Listopad, 2009 Zbytecny zatizeni modu.. Motor ti stejne bouchne do 5 sekund.. Takze ja bych to vzdy resil takhle Link to comment Share on other sites More sharing options...
Guest Hammy Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 :thumbup: ty kun*o zase nové kktinky do mého módu Link to comment Share on other sites More sharing options...
Marwin37 5 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 Zbytecny zatizeni modu.. Motor ti stejne bouchne do 5 sekund.. Takze ja bych to vzdy resil takhle to je lež když jedeš rychle tak ti bouchne až za 10 sekund Link to comment Share on other sites More sharing options...
RmT_Kjuba 10 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 pls kam mam dat tu opravu dal sem to nahoru do modu a C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3282) : warning 219: local variable "X" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3282) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3282) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3293) : warning 219: local variable "X" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3293) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3293) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3334) : warning 219: local variable "X" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3334) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3334) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3722) : warning 219: local variable "X" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3722) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3722) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3933) : warning 219: local variable "auto" shadows a variable at a preceding level C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3940) : error 010: invalid function or declaration C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3943) : warning 203: symbol is never used: "X" C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3943) : warning 203: symbol is never used: "Y" C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3943) : warning 203: symbol is never used: "Z" C:\Users\uzivatel\server mix\moje mody\MoStAdVaNcEdStUnT.pwn(3943) : warning 203: symbol is never used: "auto" diky Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 ten public opravy dej mimo vsechny ostatni. Treba az uplne nejvic nakonec a forward a settimer dej nahoru Link to comment Share on other sites More sharing options...
RmT_Kjuba 10 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 SORY ja sem myslel zrychleni auta .... to hodi ty errory Link to comment Share on other sites More sharing options...
zpatecnik 0 Odesláno: 8. Listopad, 2009 Share Odesláno: 8. Listopad, 2009 k zrychleni auta musis pridat nejakej prikaz treba: if(strcmp(cmdtext, "/fast", true)==0) { new Float:X,Float:Y,Float:Z,auto; auto = GetPlayerVehicleID(playerid); GetVehicleVelocity(auto,X,Y,Z); SetVehicleVelocity(auto,X*5,Y*5,Z); return 1; } Link to comment Share on other sites More sharing options...
癌癌癌 1 Odesláno: 10. Listopad, 2009 Share Odesláno: 10. Listopad, 2009 Hmm na samp forku sem videl verzi kde to SetVehicleVelocity(vehicleid, X /2,Y /2,Z); nejak takhle ... zajimavy někde se to děli nekde krátí? xD Link to comment Share on other sites More sharing options...
Majitel ffredyk 168 Odesláno: 10. Listopad, 2009 Author Majitel Share Odesláno: 10. Listopad, 2009 Deleni zmensuje, kraceni zvetsuje.. Link to comment Share on other sites More sharing options...
Mischino19 2 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 mozes presnejsie popisat ten tut? pretoze nechapem naco to je dobre.... Link to comment Share on other sites More sharing options...
TWeak 5 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 Tak trošku nechapu.... Link to comment Share on other sites More sharing options...
Guest D3luX Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 Je to dobre nieco sa my urcite zíde Link to comment Share on other sites More sharing options...
TWeak 5 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 Je to dobre nieco sa my urcite zíde A tys to pochopil ? Link to comment Share on other sites More sharing options...
michal377 0 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 je to lahke chapem aj ja a cashis posledny riadok tvojho poisu: deathmach-MrtvyMach Link to comment Share on other sites More sharing options...
Mischino19 2 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 ja nechapem naco to je vobec ani nepopisal naco to je dobre....pls podrobnosti Link to comment Share on other sites More sharing options...
TWeak 5 Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 Podrobností se boužel nedostaneš. Pač ani já bych to neupravoval. Link to comment Share on other sites More sharing options...
Guest D3luX Odesláno: 10. Březen, 2010 Share Odesláno: 10. Březen, 2010 Je to dobre nieco sa my urcite zíde A tys to pochopil ? lool co na tom nechapes? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now