Fenix1k Posted August 20, 2008 Share Posted August 20, 2008 i made cleo mods and save it only on txd whats problem? and when my mod (lowriders) are spawned? Link to comment Share on other sites More sharing options...
2pacproducer2 Posted August 20, 2008 Share Posted August 20, 2008 i made cleo mods and save it only on txd whats problem?and when my mod (lowriders) are spawned? First of all, download someones .cs file, and delete everything exept the part to the ---------main------------- thing. Then put your code there and compile it. Press run>compile. Then put it in cleo folder and it will work. Anyway show us the code Link to comment Share on other sites More sharing options...
CroModder Posted August 28, 2008 Share Posted August 28, 2008 I have problem with CLEO. When I enter game, it crashes. Here is my code: // This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------thread 'XYZ' :XYZ_11Model.Load([email protected]) Car.Model([email protected]) == #ALPHAif Model.Available([email protected])else_jump @XYZ_11 jump @XYZ_65 :[email protected] = Car.Create([email protected], 2481.27, -1680.845, 13.3317)Model.Destroy([email protected])end_thread I was looking for mistake but I didn't find it Please help somebody. Link to comment Share on other sites More sharing options...
james227uk Posted August 28, 2008 Share Posted August 28, 2008 You have no idea how to code. A car spawn is a very simple thing. For starts, [email protected] isn't ever defined when the script reads the line = CRASH! Try this: {$CLEO .cs}014B: $PARKED_RHINO = init_parked_car_generator #ALPHA color -1 -1 1 alarm 0 door_lock 0 0 10000 at 2481.27, -1680.845, 13.3317 angle 90.00A95: enable_thread_saving0A93: end_custom_thread You should read the tuts by tomworld10 Link to comment Share on other sites More sharing options...
CroModder Posted August 28, 2008 Share Posted August 28, 2008 (edited) But in that way it doesn't work. It shows error: http://i33.tinypic.com/21evle.jpg (http://i33.tinypic.com/21evle.jpg) Sorry I don't know how to code. But I use "Opcode search" and find an example of 014B. And that example has the same number of parameters. I really don't know where is the problem. Becouse when i was editing main.scm i used 014B opcode and it works. Edited August 28, 2008 by CroModder Link to comment Share on other sites More sharing options...
ZAZ Posted August 28, 2008 Share Posted August 28, 2008 But in that way it doesn't work. It shows error:http://i33.tinypic.com/21evle.jpg (http://i33.tinypic.com/21evle.jpg) (http://i33.tinypic.com/21evle.jpg) Sorry I don't know how to code. But I use "Opcode search" and find an example of 014B. And that example has the same number of parameters. I really don't know where is the problem. Becouse when i was editing main.scm i used 014B opcode and it works. james227uk posted bullsh*t he forgot to delete the commas, therefor the parameter message and it needs two opcodes. 014B: and 014C: 014B: [email protected] = init_parked_car_generator #BANSHEE -1 -1 1 alarm 0 door_lock 0 0 10000 at 920.1994 2020.546 11.79 angle 100.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101 CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
james227uk Posted August 28, 2008 Share Posted August 28, 2008 But in that way it doesn't work. It shows error:http://i33.tinypic.com/21evle.jpg (http://i33.tinypic.com/21evle.jpg) (http://i33.tinypic.com/21evle.jpg) (http://i33.tinypic.com/21evle.jpg) Sorry I don't know how to code. But I use "Opcode search" and find an example of 014B. And that example has the same number of parameters. I really don't know where is the problem. Becouse when i was editing main.scm i used 014B opcode and it works. james227uk posted bullsh*t he forgot to delete the commas, therefor the parameter message and it needs two opcodes. 014B: and 014C: 014B: [email protected] = init_parked_car_generator #BANSHEE -1 -1 1 alarm 0 door_lock 0 0 10000 at 920.1994 2020.546 11.79 angle 100.0014C: set_parked_car_generator [email protected] cars_to_generate_to 101 I just noticed actually. 1. The commas- I forgot to remove them when I copied his coords 2. Completely forgot that line, the 014C Link to comment Share on other sites More sharing options...
CroModder Posted August 29, 2008 Share Posted August 29, 2008 Oh, I'm now that I am nuisance but I still got problem that I need 13 parameter for opcode 014B. And don't know why because I have 13 parameters. Can someone give me finished *.cs? Cars coordinates are 2481.27, -1680.845, 13.3317 Link to comment Share on other sites More sharing options...
CroModder Posted August 29, 2008 Share Posted August 29, 2008 Oh I am so stupid because I wrote commas between x and y coords... So thx all who helped me. 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