IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
Forum Rules GTA Modification Forums

Please post mod releases in the Mod Showroom

GTAGarage.com
free mod hosting from GTANet, simply login with your GTAForums account details

GTAModding.com
GTANet's modding wiki

GTA Modding Chatroom
provided by irc.gtanet.com (Don't have an IRC client? Click here)


  Reply to this topicStart new topicStart Poll

 Actor

 Itīs spawn l
 
Joni2030  
Posted: Friday, May 4 2012, 17:25
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



Actor will spawn but problem is itīs spawn all times there comes first 1 then anothen 1 then another 1 and this go very far code

CODE
{$CLEO .cs}
0000: NOP

:Noname_2
wait 0 ms
0256:   player $PLAYER_CHAR defined
0247: #BALLAS1
0247: #COLT45
004D: jump_if_false @Noname_2
009A: 1@ = create_actor_pedtype 7 model #BALLAS1 at 2237.1409 -1268.2859 25.3672
01B2: give_actor 1@ weapon 22 ammo 9999 // Load the weapon model before using this
wait 5000 ms
0249: release_model #BALLAS1
0249: release_model #COLT45
0002: jump @Noname_2
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Friday, May 4 2012, 17:33
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



Then don't put create_actor command in a jump loop and your problem is solved. This way your actor is creating in every 5 seconds.
PM
  Top
 

 
Joni2030  
Posted: Friday, May 4 2012, 17:36
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



Can you show what you mean
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Friday, May 4 2012, 17:44
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



This is a jump loop:
CODE
:Noname_2
wait 0 ms
some scrypt stuff
0002: jump @Noname_2

and this isn't:
CODE
:Noname_2
wait 0 ms
some scrypt stuff

MK is that you again?
PM
  Top
 

 
Joni2030  
Posted: Friday, May 4 2012, 18:06
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



No its me MK itīs not here
Users WebsitePM
  Top
 

 
JACK JONES  
Posted: Friday, May 4 2012, 18:19
Quote Post


Booom!!!
Group Icon
Group: Members
Joined: Dec 6, 2011

sr.gif

XXXXX



Is he your twin brother lol.gif?
PM
  Top
 

 
Joni2030  
Posted: Friday, May 4 2012, 18:30
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



No
Users WebsitePM
  Top
 

 
Joni2030  
Posted: Friday, May 4 2012, 18:34
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



I have been longer in GTAF than he is and i have better english than him she only have stealed others mods and used wrong opcodes i know something and that is good for me what more evry time i learn something new when i try something i talk now about coding And i say Iīm not heīs twin brother i dont know where really MK lives I know only he try tell for us that he live in america but i dont believe that. Do You?
Users WebsitePM
  Top
 

 
Bad.boy!  
Posted: Friday, May 4 2012, 19:03
Quote Post


SA modder
Group Icon
Group: Members
Joined: Jun 20, 2010

nl.gif

XXXXX



You're English isn't much better than MK's. And that script isn't better than MK's scripts.

This is your corrected script, read it and try to understand your mistakes.
CODE
{$CLEO .cs}

0000: NOP

:PLAYERCHECK
wait 0
if
Player.Defined($PLAYER_CHAR)
jf @PLAYERCHECK
Model.Load(#BALLAS1)
Model.Load(#COLT45)

:MODELCHECK
wait 0
if and
Model.Available(#BALLAS1)
Model.Available(#COLT45)
jf @MODELCHECK
009A: 1@ = create_actor_pedtype 7 model #BALLAS1 at 2237.1409 -1268.2859 25.3672
01B2: give_actor 1@ weapon 22 ammo 9999
wait 5000 // Why did you put this wait here?
0249: release_model #BALLAS1
0249: release_model #COLT45
0A93: end_custom_thread


I know you aren't MK btw.
PM
  Top
 

 
Joni2030  
Posted: Saturday, May 5 2012, 06:33
Quote Post


Prankster
Group Icon
Group: Members
Joined: Jul 6, 2011

sf.gif

XXXXX



thx bad.boy this coding is just so hard thx again


EDIT: I tryed go in game to that place but when i was there there is not ballas with colt?

EDIT2: I changed coords and complile and go to that place now itīs spawned thanks thx

This post has been edited by Joni2030 on Saturday, May 5 2012, 06:40
Users WebsitePM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG