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

 Can someone help?

 ???
 
SamJohnson98  
Posted: Monday, Jan 30 2012, 08:29
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



Can someone help me? nervous.gif
I have a player replacer mod by CoinGod but I want to add button so that when I press PgDown it changes into whatever in the gta3.img and when I press End it changes back to CJ.
Can someone please? dontgetit.gif
Here is the original script:

QUOTE
/ This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
thread 'REPLACE'
0A95: enable_thread_saving

:REPLACE_13
wait 0
023C: load_special_actor 'COINGOD' as 1 // models 290-299
if
023D:   special_actor 1 loaded
else_jump @REPLACE_13
09C7: change_player $PLAYER_CHAR model_to #SPECIAL01
0A93: end_custom_thread


Someone please help.
I know there are great modders out there, but unfortunately I'm not one of them. sarcasm.gif
rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif rampage_ani.gif

This post has been edited by SamJohnson98 on Monday, Jan 30 2012, 08:32
PM
  Top
 

 
fastman92  
Posted: Monday, Jan 30 2012, 09:35
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



CODE
{$CLEO}
const
SPECIAL_ACTOR_MODEL_NAME = 'SWEET'
KEY = 34    // page down
end

0000: NOP

:replacePlayerToSpecialActor
wait 0
if
0AB0:   key_pressed KEY  // 0 zero
else_jump @replacePlayerToSpecialActor
023C: load_special_actor SPECIAL_ACTOR_MODEL_NAME as 1 // models 290-299

   while 823D:   not special_actor 1 loaded
   wait 0
   end
   
09C7: change_player $PLAYER_CHAR model_to #SPECIAL01
wait 500

:restorePlayerModel
wait 0
if
0AB0:   key_pressed KEY  // 0 zero
else_jump @restorePlayerModel
0296: unload_special_actor 1
09C7: change_player $PLAYER_CHAR model_to #NULL
wait 500
jump @replacePlayerToSpecialActor  
Users WebsitePMMSN
  Top
 

 
SamJohnson98  
Posted: Monday, Jan 30 2012, 11:31
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



Thanks a lot fastman92 lol.gif
I love your work on cleo mods biggrin.gif
But why does my game crashes on your mod 'Carspawn 2.0' ?
I can play the 1.1 version fine but 2.0 crashes my game after loading the game.
Do you know what's the problem?
I checked the size, it's exactly like this size: 14 383 616 bytes GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed (that's what you wrote on the readme)
Can you please reply... smile.gif
PM
  Top
 

 
fastman92  
Posted: Monday, Jan 30 2012, 11:42
Quote Post


фастман92 | ف
Group Icon
Group: Members
Joined: Jul 28, 2009

pl.gif

XXXXX



QUOTE (SamJohnson98 @ Monday, Jan 30 2012, 12:31)
Thanks a lot fastman92   lol.gif
I love your work on cleo mods  biggrin.gif
But why does my game crashes on your mod 'Carspawn 2.0' ?
I can play the 1.1 version fine but 2.0 crashes my game after loading the game.
Do you know what's the problem?
I checked the size, it's exactly like this size: 14 383 616 bytes GTA San Andreas v1.0 [US] HOODLUM No-CD Fixed (that's what you wrote on the readme)
Can you please reply... smile.gif

What CLEO version do you have? Car spawner requires CLEO4. Version 2.1 will be compatible with CLEO3 too without possibility to read .ini file (no configuration).
Do you have IniFiles.cleo and IntOperations.cleo in CLEO directory?
Did you copy all files from "put_to_root_of_GTASA" to GTA San Andreas directory?

This post has been edited by fastman92 on Monday, Jan 30 2012, 11:45
Users WebsitePMMSN
  Top
 

 
SamJohnson98  
Posted: Monday, Jan 30 2012, 12:13
Quote Post


Player Hater
Group Icon
Group: Members
Joined: Jan 13, 2012

XXXXX



Uh, nevermind... tounge.gif
I just copied the whole "CLEO" folder and it works.
Before I open the cleo folder and copy the things inside the folder.
Oh well, thanks by the way.
To me, you are one of the great cleo modders.
Thanks again. colgate.gif
PM
  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