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

 Script crash

 need help
 
Ify24  
Posted: Wednesday, Aug 8 2012, 20:20
Quote Post


0x00000000 --> invisible
Group Icon
Group: Members
Joined: Aug 17, 2011

yu.gif

XXXXX



Hy guys, here is the part of my script that makes my game crash:

CODE
:START
wait 10 ms
00A0: store_actor $PLAYER_ACTOR position_to 1@ 2@ 3@
0AE1: 4@ = random_actor_near_point 1@ 2@ 3@ in_radius 3.0 find_next 1 pass_deads 1 //IF and SET
:Check_1
wait 0 ms
if or
02F2:   actor 4@ model == #WMYDRUG
02F2:   actor 4@ model == #BMYDRUG
jf @START
0ACE: show_formatted_text_box "Yee" 0x0ACE
jump @START


So what's wrong ?


PM
  Top
 

 
oksa8  
Posted: Wednesday, Aug 8 2012, 20:55
Quote Post


Just call me Oksu
Group Icon
Group: Members
Joined: Sep 30, 2010

sf.gif

Member Award




Maybe check if player is defined and actor 4@ is defined?
Users WebsitePM
  Top
 

 
SilentPL  
Posted: Wednesday, Aug 8 2012, 21:05
Quote Post


Senior File Manager
Group Icon
Group: Members
Joined: Feb 1, 2010

pl.gif

Member Award




You have specified a param in 0ACE, yet, you didn't include any format tags.
Users WebsitePMMSNXbox Live
  Top
 

 
Ashwin the new boy  
Posted: Thursday, Aug 9 2012, 08:59
Quote Post


I am The Most Confused Person
Group Icon
Group: Members
Joined: Nov 14, 2010

ia.gif

XXXXX



I am Sure the Crash is because of "0AE1" opcode,
Replace it with something like
there is a opcode which will give the handle of Ped if in Given Sphere,
Users WebsitePM
  Top
 

 
Ify24  
Posted: Thursday, Aug 9 2012, 10:05
Quote Post


0x00000000 --> invisible
Group Icon
Group: Members
Joined: Aug 17, 2011

yu.gif

XXXXX



Thanks for the help
PM
  Top
 

 

0 User(s) are reading this topic (0 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