Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Summer Special
      2. The Diamond Casino Heist
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
Satyr22cz

Problem with more actor

Recommended Posts

Satyr22cz

Hi pls help me with this problem ..

 

// 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 'PED' :PED_11Model.Load(#DWMYLC2)Model.Load(#BMYRI)Model.Load(#SHOTGSPA)Model.Load(#SAWNOFF)wait 0 if   Model.Available(#DWMYLC2)  Model.Available(#BMYRI)  Model.Available(#SHOTGSPA)  Model.Available(#SAWNOFF)else_jump @PED_11 :PED_64wait 0 if   Player.Defined($PLAYER_CHAR)else_jump @PED_64 [email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49)[email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)01B2: give_actor [email protected] weapon 27 ammo 60000 // Load the weapon model before using this Actor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 0 03FE: set_actor [email protected] money 50 01B2: give_actor [email protected] weapon 26 ammo 60000 // Load the weapon model before using this Actor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 0 03FE: set_actor [email protected] money 50 :PED_217wait 0 if   Actor.Dead([email protected])  Actor.Dead([email protected])else_jump @PED_217 Actor.RemoveReferences([email protected])wait 60000 Actor.RemoveReferences([email protected])wait 60000 jump @PED_11 Model.Destroy(#BMYRI)Model.Destroy(#DWMYLC2)jump @PED_217

 

 

 

pls fix and tell my how create third - > next ped thanks nd sorry for my english

Edited by Satyr22cz

Share this post


Link to post
Share on other sites
TheSiggi

 

// 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 'PED':PED_11Model.Load(#DWMYLC2)Model.Load(#BMYRI)Model.Load(#SHOTGSPA)Model.Load(#SAWNOFF)jump @PED_18:PED_18wait 500if andModel.Available(#DWMYLC2)Model.Available(#BMYRI)Model.Available(#SHOTGSPA)Model.Available(#SAWNOFF)else_jump @PED_18:PED_64wait 0ifPlayer.Defined($PLAYER_CHAR)else_jump @PED_64009A: [email protected] = create_actor_pedtype 4 model #BMYRI  at  2104.52  -1265.89 25.49009A: [email protected] = create_actor_pedtype 4 model#DWMYLC2  at 2106.35 -12658.7 25.4901B2: give_actor [email protected] weapon 27 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 5001B2: give_actor [email protected] weapon 26 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 50:PED_217wait 0if andActor.Dead([email protected])Actor.Dead([email protected])else_jump @PED_217wait 0Actor.RemoveReferences([email protected])wait 60000Actor.RemoveReferences([email protected])wait 60000jump @PED_11Model.Destroy(#BMYRI)Model.Destroy(#DWMYLC2)jump @PED_217 

 

 

I found some little mistakes like

 

 

if Model.Available(#DWMYLC2) Model.Available(#BMYRI) Model.Available(#SHOTGSPA) Model.Available(#SAWNOFF)

 

 

if Actor.Dead([email protected]) Actor.Dead([email protected])

 

 

 

when u use more then one condition

you should use

 

if and

 

and

 

if or

 

 

and you used:

[email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49)[email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)

 

instead of

009A: [email protected] = create_actor_pedtype 4 model #BMYRI  at  2104.52  -1265.89 25.49009A: [email protected] = create_actor_pedtype 4 model#DWMYLC2  at 2106.35 -12658.7 25.49

 

Edited by The_Siggi

Share this post


Link to post
Share on other sites
Satyr22cz

i tested thanks

Share this post


Link to post
Share on other sites
james227uk

@Siggi

 

What's wrong with the Actor.Create lines? Unless there's a mistake in the params he used,

 

 

Actor.Create

 

 

is the Keyword for

 

 

009A

 

Share this post


Link to post
Share on other sites
Satyr22cz

is not run compile ... i copy your code siggi but is not run sad.gif

Share this post


Link to post
Share on other sites
TheSiggi

now it works.....but I don't understand the sence of the 2nd location colgate.gif

 

 

 

 

{$CLEO .cs}//-------------MAIN---------------thread 'PED':PED_11Model.Load(#DWMYLC2)Model.Load(#BMYRI)Model.Load(#SHOTGSPA)Model.Load(#SAWNOFF)jump @PED_18:PED_18wait 500if andModel.Available(#DWMYLC2)Model.Available(#BMYRI)Model.Available(#SHOTGSPA)Model.Available(#SAWNOFF)else_jump @PED_18:PED_64wait 0ifPlayer.Defined($PLAYER_CHAR)else_jump @PED_64009A: [email protected] = create_actor_pedtype 4 model #BMYRI  at  2104.52  -1265.89 25.49009A: [email protected] = create_actor_pedtype 4 model #DWMYLC2 at 2106.35 -12658.7 25.4901B2: give_actor [email protected] weapon 27 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 5001B2: give_actor [email protected] weapon 26 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 50:PED_217wait 0if andActor.Dead([email protected])Actor.Dead([email protected])else_jump @PED_217wait 0Actor.RemoveReferences([email protected])wait 60000Actor.RemoveReferences([email protected])wait 60000jump @PED_11Model.Destroy(#BMYRI)Model.Destroy(#DWMYLC2)jump @PED_217 

 

now it compils.....just forgot a gap confused.gif

 

@ James:

 

I wasn't sure with those two shortcuts so I decided to replace them with the longer version and:

 

does :

[email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49) //< CivMale  [email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)

 

 

works like group 4?

Edited by The_Siggi

Share this post


Link to post
Share on other sites
Deji

I personally don't like to use the classes. They look ugly and not all of the opcodes can be replaced by them. So if they are used it looks like about 4 different kinds of code have just been merged into one script, looking pretty unprofessional.

 

I don't see what was wrong with the original opcodes either.. Everyone knew them and it's easier for everything to follow one format than many different formats. I usually end up redecompiling (lol) them to get the original opcode. Easier for me to follow.

 

Just my preference, but I do think it could also confuse people who read tutorials and get a load of code they don't understand thrown into their face when they ask for help... confused.gif

 

 

@Satyr22cz

 

change this line in The_Siggi's script...

 

 

009A: [email protected] = create_actor_pedtype 4 model#DWMYLC2  at 2106.35 -12658.7 25.49

 

 

 

009A: [email protected] = create_actor_pedtype 4 model #DWMYLC2  at 2106.35 -12658.7 25.49

 

 

Typo, I guess smile.gif

 

Or just copy the one he posted above tounge2.gif

Share this post


Link to post
Share on other sites
Satyr22cz

is not run in game ..... f*f*f*

 

Edited by Satyr22cz

Share this post


Link to post
Share on other sites
TheSiggi

works perfect in my game monocle.gif

 

 

// 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 'PED':PED_11Model.Load(#DWMYLC2)Model.Load(#BMYRI)Model.Load(#SHOTGSPA)Model.Load(#SAWNOFF)jump @PED_18:PED_18wait 500if andModel.Available(#DWMYLC2)Model.Available(#BMYRI)                                                                                                                           [email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49)[email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)Model.Available(#SHOTGSPA)Model.Available(#SAWNOFF)else_jump @PED_18:PED_64wait 0ifPlayer.Defined($PLAYER_CHAR)else_jump @PED_64009A: [email protected] = create_actor_pedtype 4 model #BMYRI  at  2104.52  -1265.89 25.49009A: [email protected] = create_actor_pedtype 4 model #DWMYLC2 at 2106.35 -12658.7 25.4901B2: give_actor [email protected] weapon 27 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 5001B2: give_actor [email protected] weapon 26 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 50:PED_217wait 0if andActor.Dead([email protected])Actor.Dead([email protected])else_jump @PED_217wait 0Actor.RemoveReferences([email protected])wait 60000Actor.RemoveReferences([email protected])wait 60000jump @PED_11Model.Destroy(#BMYRI)Model.Destroy(#DWMYLC2)jump @PED_217 

 

Share this post


Link to post
Share on other sites
Satyr22cz

my totaly no anytime crash game ...

Share this post


Link to post
Share on other sites
TheSiggi

thats kind of strange colgate.gif

Share this post


Link to post
Share on other sites
Satyr22cz

this is a horrible sad.gif

Share this post


Link to post
Share on other sites
Deji

Are you sure it isn't something else crashing the game? When you take the file away, does it still work? Does it work when you disable CLEO? Try stuff! smile.gif

Share this post


Link to post
Share on other sites
Satyr22cz

in my gta is trilion mod biggrin.gif but crash game only for this script loading complete and next only black monitor a report crash sad.gif

Share this post


Link to post
Share on other sites
Satyr22cz

ok send my you complete file .cs upload for sendspace or other page

my friend is run game my no ... and this new pc ? f*cked sh*t windows vista only one mod and vista crashed .........

 

pls help me sad.gif other mod in my game is not crashed

Share this post


Link to post
Share on other sites
TheSiggi

I also use Winodws Vista and don't have any problems

 

try to delete all files in the folder cleo_saves

Share this post


Link to post
Share on other sites
Satyr22cz

crach sad.gif

Share this post


Link to post
Share on other sites
TheSiggi

try this one

 

// 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 'PED':PED_11Model.Load(#DWMYLC2)Model.Load(#BMYRI)Model.Load(#SHOTGSPA)Model.Load(#SAWNOFF)jump @PED_18:PED_18wait 500if andModel.Available(#DWMYLC2)Model.Available(#BMYRI)                                                                                                                           [email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49)[email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)Model.Available(#SHOTGSPA)Model.Available(#SAWNOFF)else_jump @PED_18:PED_64wait 0ifPlayer.Defined($PLAYER_CHAR)else_jump @PED_64009A: [email protected] = create_actor_pedtype 4 model #BMYRI  at  2104.52  -1265.89 25.49009A: [email protected] = create_actor_pedtype 4 model #DWMYLC2 at 2106.35 -12658.7 25.4901B2: give_actor [email protected] weapon 27 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 5001B2: give_actor [email protected] weapon 26 ammo 60000 // Load the weapon model before using thisActor.Health([email protected]) = 2000Actor.Armour([email protected]) = 20000446: set_actor [email protected] immune_to_headshots 003FE: set_actor [email protected] money 500249: release_model #SAWNOFF0249: release_model #SHOTGSPA0249: release_model #DWMYLC20249: release_model #BMYRI jump @PED_217:PED_217wait 0if andActor.Dead([email protected])Actor.Dead([email protected])else_jump @PED_217wait 0Actor.RemoveReferences([email protected])Actor.RemoveReferences([email protected])wait 0Model.Destroy(#BMYRI)Model.Destroy(#DWMYLC2)jump @PED_11

 

Share this post


Link to post
Share on other sites
Dutchy3010

So you are saying that you are using many mods? It is of course possible that the mods have some kind of conflict. Delete all other cleo mods, and try again (of course, make a backup of your mods wink.gif). If you used total conversion mods, it is possible that you can't use the model name, because it doesn't exist.

Share this post


Link to post
Share on other sites
TheSiggi

but isn't that strange?

 

it works with my game but not with his one?

 

could you test it Dutchy, or anybody else

 

would be very kind of you

Share this post


Link to post
Share on other sites
Dutchy3010

It isn't strange when he is using other mods than you, if there is a conflict. Of course I can test, hang on, I'll edit my post in a few minutes.

 

EDIT:

It doesn't crash for me. However, there are two actors in the same place; don't know if that is what you want. I don't think you need the first actor create lines:

 

[email protected] = Actor.Create(CivMale, #BMYRI, 2104.52, -1265.89, 25.49)[email protected] = Actor.Create(CivMale, #DWMYLC2, 2106.35, -12658.7, 25.49)

 

Edited by Dutchy3010

Share this post


Link to post
Share on other sites
TheSiggi

lol

 

I used the Sannybuilder Coordmanager to get to the postioins and the 2nd was in the sea - in the south of the LS Airport

Share this post


Link to post
Share on other sites
Satyr22cz

my mods is only ped skins and new txd guns and five car i clear all cleo folder but game is crashed sad.gif i dont know my version game is 0.1 sanny builder v 3.3

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.