Results 1 to 10 of 16

Thread: setmodel

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Brigadier General
    Join Date
    Oct 2012
    Posts
    994
    Thanks
    20
    Thanked 588 Times in 388 Posts
    Quote Originally Posted by serthy View Post
    WTF dude, you should really start with the basics of coding...

    Code:
    spawnModel( name , pos , angles );
    {
        model = spawn( "script_model" , pos );
        model.angles = angles;
        model setModel( name );
        return model;
    }
    
    loveboy()
    {
        precacheModel( "xmodel/vehicle_stuka_flying" );
    
        model = spawnModel( "xmodel/vehicle_stuka_flying" , ( 1 , 2 , 3 ) ,  ( 0 , 90 , 0 ) );
    }
    LMAO @serthy. You've made the kind of mistake I usually make - you've told LoveBoy to start with the basics and you then went and put a semi-colon ( on your function bracket.

  2. #2
    Sergeant serthy's Avatar
    Join Date
    Nov 2012
    Posts
    450
    Thanks
    96
    Thanked 296 Times in 188 Posts
    Quote Originally Posted by Tally View Post
    LMAO @serthy. You've made the kind of mistake I usually make - you've told LoveBoy to start with the basics and you then went and put a semi-colon ( on your function bracket.
    ;D you are right, i sent the code not from my pc, but no excuses

    Attachment 271

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •