bOmBi 0 Odesláno: 19. Prosinec, 2011 Share Odesláno: 19. Prosinec, 2011 Hi all, mám problém s tým, že ked si vytvorím auto s tunningom a dám ho na server tunning tam vôbec nieje...za rady dík Link to comment Share on other sites More sharing options...
VoDnIk168 0 Odesláno: 19. Prosinec, 2011 Share Odesláno: 19. Prosinec, 2011 a co třeba code jak to máš? Link to comment Share on other sites More sharing options...
bOmBi 0 Odesláno: 19. Prosinec, 2011 Author Share Odesláno: 19. Prosinec, 2011 napríklad sultán ... v map je to tak... a preconvertované tak... AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); //Sultan Link to comment Share on other sites More sharing options...
VoDnIk168 0 Odesláno: 19. Prosinec, 2011 Share Odesláno: 19. Prosinec, 2011 napríklad sultán ...AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); //Sultan a co třeba new auto1,timer1; forward Timer1(); auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); pak timer timer1 = SetTimer("Timer1",1000,true); a publick public Timer1() { AddVehicleComponent(auto1 ,/*id componentu*/); KillTimer(timer1); return 1; } Link to comment Share on other sites More sharing options...
bOmBi 0 Odesláno: 20. Prosinec, 2011 Author Share Odesláno: 20. Prosinec, 2011 mám jeden error v tomto riadku auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); ....error 010: invalid function or declaration #include #include #include public OnPlayerConnect(playerid) { SendClientMessage(playerid, 0xDEEE20FF, "///"); return 0; } public OnFilterScriptInit() { /// } new auto1,timer1; forward Timer1(); auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); timer1 = SetTimer("Timer1",1000,true); public Timer1() { AddVehicleComponent(auto1 , 1); KillTimer(timer1); return 1; } public OnFilterScriptExit() { return 1; } Link to comment Share on other sites More sharing options...
GAMELASTERツ 73 Odesláno: 20. Prosinec, 2011 Share Odesláno: 20. Prosinec, 2011 Decompilovane ako vidim.. Link to comment Share on other sites More sharing options...
bOmBi 0 Odesláno: 20. Prosinec, 2011 Author Share Odesláno: 20. Prosinec, 2011 pravdepodobne vidíš zle... Link to comment Share on other sites More sharing options...
Guest Odesláno: 20. Prosinec, 2011 Share Odesláno: 20. Prosinec, 2011 Decompilovane ako vidim.. Podle čeho usuzuješ? podle , a ? To jsou základní includy a nemusíš je tam mít po dekompilaci. To od vodnika nepoužij ... udělej to takto: public Link to comment Share on other sites More sharing options...
bOmBi 0 Odesláno: 21. Prosinec, 2011 Author Share Odesláno: 21. Prosinec, 2011 ok ide mi to ďakujem Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Prosinec, 2011 Share Odesláno: 22. Prosinec, 2011 To od vodnika nepoužij ... udělej to takto: public OnFilterScriptInit() { new auto1; auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); AddVehicleComponent(auto1,/* id componentu */); return 1; } 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