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

 0AB0 in Vice City

 Sanny Builder Compiler error.
 
MasterK  
Posted: Friday, Jun 22 2012, 17:12
Quote Post


The main protagonist.
Group Icon
Group: Members
Joined: Oct 3, 2005

hg.gif

XXXXX



Hey there!

I've been trying to use the 0AB0: key_pressed opcode for a Vice City cleo mod, but every time I want to compile the script, I get an error which tells me to install CLEO library, even though I've already installed it. Any thoughts?
Users WebsitePMMSN
  Top
 

 
JACK JONES  
Posted: Friday, Jun 22 2012, 17:25
Quote Post


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

sr.gif

XXXXX



That opcode works only for SA. Use 05EE (which will work only with VC CLEO 1.0.1.5) or you can also use 00E1.
PM
  Top
 

 
MasterK  
Posted: Friday, Jun 22 2012, 17:33
Quote Post


The main protagonist.
Group Icon
Group: Members
Joined: Oct 3, 2005

hg.gif

XXXXX



Thanks for that! smile.gif Now, on another note... is there a way to move a car to right, or left instantly? I mean, without turning it... like when I press a button, the car will ram into the car next to it, by moving a given amount.
Users WebsitePMMSN
  Top
 

 
JACK JONES  
Posted: Friday, Jun 22 2012, 18:09
Quote Post


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

sr.gif

XXXXX



It's possible:
CODE
:1
wait 0
if and
0443:   player $PLAYER_CHAR in_a_car
00E1:   key_pressed 0 17
jf @1
04C4: create_coordinate 1@ 2@ 3@ from_actor $PLAYER_ACTOR offset -5.0 0.0 0.0
00A1: put_actor $PLAYER_ACTOR at 1@ 2@ 3@
jump @1

-5.0 represent the X value (float) made from players left side. Make one more of these (by some other key) with 5.0 which is right from player. And if that's too fast put a number higher then 0 in the wait command.


This post has been edited by JACK JONES on Friday, Jun 22 2012, 18:20
PM
  Top
 

 
MasterK  
Posted: Friday, Jun 22 2012, 18:37
Quote Post


The main protagonist.
Group Icon
Group: Members
Joined: Oct 3, 2005

hg.gif

XXXXX



Wouldn't that just put it at that coordinate and not move it there?
Users WebsitePMMSN
  Top
 

 
Deji  
Posted: Saturday, Jun 23 2012, 15:20
Quote Post


Coding like a Rockstar!
Group Icon
Group: Members
Joined: Dec 24, 2007

ja.gif

XXXXX



Yes, yes it would.
Users WebsitePM
  Top
 

 
Ashwin the new boy  
Posted: Sunday, Jun 24 2012, 02:31
Quote Post


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

ia.gif

XXXXX



QUOTE
I press a button, the car will ram into the car next to it, by moving a given amount.

Do you mean Something like in Wheelman game ???
Users WebsitePM
  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