Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    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. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. 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. Red Dead Redemption 2

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

    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
    1. Announcements

    2. Support

    3. Suggestions

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

how to create PED ×SANNY BUILDER×


Satyr22cz
 Share

Recommended Posts

please how to create PED and bonus

 

imune to headshot

create weapon

 

and animation

 

many thanks for CODE and request

Link to comment
Share on other sites

spaceeinstein

Do you want this topic merged with your other topic?

Link to comment
Share on other sites

{$CLEO .cs}thread 'SKINCHANGE':STARTwait 0 msifPlayer.Defined($PLAYER_CHAR)jf @STARTif00E1:    player 0 pressed_key 67jf @STARTModel.Load(#[Choose Ped]):SECONDwait 0 msifModel.Available(#[Choose Ped])jf @THIRDjump @FOURTH:THIRDwait 0 msModel.Load(#[Choose Ped])jump @SECOND:FOURTHwait 1000 ms09C7: change_player $PLAYER_CHAR model_to #LAPD1070D: rebuild_player $PLAYER_CHARwait 1000 msModel.Destroy(#[Choose ped])0A93: end_custom_thread

 

 

Got it off James, Run > Compile to CLEO Folder run game, press C to change to ped

He wants to spawn a ped, not change into one

Link to comment
Share on other sites

009A: [email protected] = create_actor_pedtype 4 model #MODELNAME at 0.0 0.0 0.0

 

Knock yourself out.

 

Don't forget to request the model unless you use model numbers.

Link to comment
Share on other sites

Doomed_Space_Marine
Don't forget to request the model unless you use model numbers.

Actually you have to load the model with model numbers too.

Link to comment
Share on other sites

Don't forget to request the model unless you use model numbers.

Actually you have to load the model with model numbers too.

Meh... It's worked whenever I've done it whatsthat.gif

Link to comment
Share on other sites

spaceeinstein

Before posting a code to help someone make sure it works for you first. I have made a little code snippet in the GTAModding wiki for spawning a ped.

Link to comment
Share on other sites

thanks boys

 

main Doctor emett L.brown

 

but

 

{$CLEO .cs}

 

 

//-------------MAIN---------------thread 'PED'0A95: enable_thread_savingwait 100009A: [email protected] = create_actor_pedtype 4 model #(MODELNAME GOES HERE!) at 0.0 0.0 0.00A93: end_custom_thread 

 

 

dont work sad.gif

Edited by Satyr22cz
Link to comment
Share on other sites

NotAvailableToday

 

{$CLEO .cs}:LABEL_003A4: name_thread 'ACTTE01' :LABEL_1    0247: load_model #HFORI     //PED 01  038B: load_requested_models 009A: $MY_ACTOR_01 = create_actor_pedtype 4 model #HFORI at 1.0 0.0 0.0 0173: set_actor $MY_ACTOR_01 Z_angle_to 262.0   :LABEL_END004E: end_thread 

 

icon14.gif

 

THX ASCHRATT AND GREETZ!!!

Link to comment
Share on other sites

 

{$CLEO .cs}:SPED03A4: name_thread 'SPED'var   $PLAYER_CHAR: Player   $PLAYER_ACTOR: Actorend:SPED0wait 500if and   Player.Defined($PLAYER_CHAR)   0AB0:  key_pressed 0x6A // (numpad) *   [email protected] < 20 //limit it to 20 extra spawns                 else_jump @SPED0   :SPED1wait 0Model.Load(#HFORI)if   Model.Available(#HFORI)else_jump @SPED1:SPED2wait 00208: [email protected] = random_float_in_ranges 3.0 9.0  04C4: store_coords_to [email protected] [email protected] [email protected] from_actor $PLAYER_ACTOR with_offset 0.0 [email protected] 2.0 0172: [email protected] = actor $PLAYER_ACTOR [email protected] += 180.0Actor.Create([email protected], 4, #HFORI, [email protected], [email protected], [email protected])Actor.Angle([email protected]) = [email protected]  Model.Destroy(#HFORI)[email protected] += 1jump @SPED0

 

 

A little example which shows a few things, model handling, key press and limiting the amounts.

 

I don't know if loading the model each time is good but i figured if you aren't using it then destroy it and load it when you next want it.

Link to comment
Share on other sites

thanks donny

please once more full script CODE create ped+gun

nothing animation nothing gang member only PED + PED gun

 

coordinate:

1362.67 -610.14 109.13

dwmylc2 - model

mp5 - weapon

 

big please

thanks all

Link to comment
Share on other sites

{$CLEO .cs}:SPED03A4: name_thread 'SPED'var  $PLAYER_CHAR: Playerend:SPED0wait 500if and  Player.Defined($PLAYER_CHAR)  0AB0:  key_pressed 0x6A // (numpad) *                  [email protected] < 20else_jump @SPED0  :SPED1wait 0Model.Load(#DWMYLC2)Model.Load(#MP5LNG)if  Model.Available(#DWMYLC2)  Model.Available(#MP5LNG)else_jump @SPED1:SPED2wait 0Actor.Create([email protected], 4, #DWMYLC2, 1362.67, -610.14, 109.13)Actor.Angle([email protected]) = 97.258101B2: give_actor [email protected] weapon 29 ammo 99999 //unlimited ammo, change this to your needs01B9: set_actor [email protected] armed_weapon_to 29  Model.Destroy(#DWMYLC2)Model.Destroy(#MP5LNG)[email protected] += 1jump @SPED0

 

Link to comment
Share on other sites

very thanks

 

pls what SPED?

just a name... you should read up some tutorials wink.gif

Link to comment
Share on other sites

pls and no prassed

normal in street go to Mad Dog house and PED in pool

and end pls how create more PED

 

pls full code

Edited by Satyr22cz
Link to comment
Share on other sites

In Sannybuilder press ctrl+alt+2 and type in "actor", take a look down the list for opcodes which look like they may help you and then come on here and take a look in the documentation for opcodes and try to find out what it does and how to use it.

 

That's all I do, trial and error after researching the tasks and possible methods.

 

If you can't figure it out then post in the requests topic what you want but as a finished script not just snippets then maybe some kind person will make it for you. Other than that you will just have to learn like we all are, nobody is going to do all your stuff for you, I'm nice and don't mind the odd example or help but seriously I'm not a service lol.

 

By the way try to use a translator in future so you are easier to understand.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

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