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

 Car repair

 
Joni2030  
Posted: Monday, May 14 2012, 13:57
Quote Post


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

sf.gif

XXXXX



I want my car repair code to change numberplate, after the key is pressed but nubmerplate is not changed when i pressed the key??? what is wrong

CODE
{$CLEO .cs}

03A4: name_thread 'Repair'

:Repair_11
0001: wait 0 ms
00D6: if
0256:   player $player_actor defined
03C0: 1@ = actor $player_actor car
004D: jump_if_false @Repair_11
00D6: if
00DF:   actor $player_actor driving
004D: jump_if_false @Repair_11
0001: wait 0 ms
0002: jump @Repair_66

:Repair_66
0001: wait 0 ms
00D6: if
0AB0:   key_pressed 82
004D: jump_if_false @Repair_136
0A30: repair_car 1@
0224: set_car 1@ health_to 1000
02AC: set_car 1@ immunities BP 1 FP 1 EP 1 CP 1 MP 1
053F: set_car 1@ tires_vulnerability 0
0674: set_car_model 1@ numberplate "_Repaired_"

00BC: show_text_highpriority GXT 'rrepair' time 3000 flag 1

:Repair_136
0001: wait 0 ms
0002: jump @Repair_11

Users WebsitePM
  Top
 

 
SilentPL  
Posted: Monday, May 14 2012, 14:03
Quote Post


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

pl.gif

Member Award




Numberplate can be changed only before carspawn, so you would actually need to respawn the car*.

* Or do some memory hacking, but I can't bother searching anything about it at the moment.
Users WebsitePMMSNXbox Live
  Top
 

 
Joni2030  
Posted: Monday, May 14 2012, 14:05
Quote Post


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

sf.gif

XXXXX



I dont know nothing about memory hacking sad.gif I delete the Numberplate and only release it with that
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