Quantcast

Jump to content

» «
Photo

gift for my fans info panel

2 replies to this topic
Sanmodder
  • Sanmodder

    Fan script

  • Members
  • Joined: 11 Sep 2017
  • Poland

#1

Posted 3 weeks ago

info panel

my old script info panel
the script works in 2 phases
1 shows information about the player
2 shows information about the vehicle
stable advantages
control
press 6 open panel
press 7 close panel
rate this script and I will add a better one

----------------------------------------------------------------

mój stary skrypt info panel
skrypt działa w 2 fazach
1 pokazuje informacje o graczu
2 pokazuje informacje o pojeżdzie
zalety stabilny
sterowanie
naciśnij 6 open panel
naciśnij 7 close panel
oceń ten skrypt a dodam lepszy

29542764_153954872097562_712148824959898

// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .CS}

//-------------MAIN---------------
0000: NOP 
thread 'NIT'
0ADF: add_dynamic_GXT_entry "ni1"   text  "PLAYER:" 
0ADF: add_dynamic_GXT_entry "ni2"   text  "~R~~H~HEALTH ~w~~1~" 
0ADF: add_dynamic_GXT_entry "ni3"   text  "WEAPON ~1~" 
0ADF: add_dynamic_GXT_entry "ni4"   text  "WANTED ~1~" 
0ADF: add_dynamic_GXT_entry "ni5"   text  "INTERIOR ~1~" 
0ADF: add_dynamic_GXT_entry "ni6"   text  "CORDS X ~1~ Y ~1~" 
0ADF: add_dynamic_GXT_entry "ni7"   text  "Z ~1~" 
0ADF: add_dynamic_GXT_entry "ni8"   text  "ANGLE ~1~" 
0ADF: add_dynamic_GXT_entry "ni9"   text  "GUARDS ~1~" 
0ADF: add_dynamic_GXT_entry "ni10"  text  "KILS/LCH ~1~" 
0ADF: add_dynamic_GXT_entry "ni11"  text  "RESPECT ~1~" 
0ADF: add_dynamic_GXT_entry "ni12"  text  "TIME ~1~:~1~" 
0ADF: add_dynamic_GXT_entry "ni13"  text  "MODEL ~1~" 
0ADF: add_dynamic_GXT_entry "ni14"  text  "VEHICLE:  (" 
0ADF: add_dynamic_GXT_entry "ni15"  text  ")~R~~H~HEALTH ~w~~1~" 
0ADF: add_dynamic_GXT_entry "ni16"  text  "SPEED ~1~ KM/H" 
0ADF: add_dynamic_GXT_entry "ni17"  text  "COLOR ~1~/~1~" 
0ADF: add_dynamic_GXT_entry "ni18"  text  "RADIO ~1~" 
0ADF: add_dynamic_GXT_entry "ni19"  text  "DOOR ~1~" 
0ADF: add_dynamic_GXT_entry "ni20"  text  "GEAR ~1~"
0ADF: add_dynamic_GXT_entry "ni21"  text  "Z ~1~" 
0ADF: add_dynamic_GXT_entry "ni22"  text  "MODEL ~1~" 
0ADF: add_dynamic_GXT_entry "ni23"  text  "MASS ~1~" 
0ADF: add_dynamic_GXT_entry "ni24"  text  "PAINTJOB ~1~" 
0ADF: add_dynamic_GXT_entry "ni25"  text  "PASSENGERS ~1~"

:start 
wait 0
repeat
repeat
wait 0
until if Player.Defined(0)
until if 0ab0: 54 

 while true
    wait 0
    038E: draw_box_position 318.0 430.0 size 643.0 33.0 RGBA 0 0 0 150 
    03F0: enable_text_draw 0                                                      
    0342: set_text_draw_centered 1                                                
    0348: enable_text_draw_proportional 1                                         
    0340: set_text_draw_RGBA 51 51 255 255                                        
    033F: set_text_draw_letter_size 0.2 1.2                                       
    033E: set_draw_text_position 30.0 420.0 GXT 'ni1'                              
    [email protected] = Actor.Health($PLAYER_ACTOR)                                             
    0342: set_text_draw_centered 1                                                
    0348: enable_text_draw_proportional 1                                         
    0340: set_text_draw_RGBA 255 102 0 255                                        
    033F: set_text_draw_letter_size 0.2 1.2                                       
    045A: draw_text_1number 70.0 420.0 GXT 'ni2' number [email protected]                        
    0470: [email protected] = actor $PLAYER_ACTOR current_weapon                                
    0342: set_text_draw_centered 1                                                
    0348: enable_text_draw_proportional 1                                         
    0340: set_text_draw_RGBA 255 51 51 255                                        
    033F: set_text_draw_letter_size 0.2 1.2                                       
    045A: draw_text_1number 120.0 420.0 GXT 'ni3' number [email protected]                       
    [email protected] = Player.WantedLevel(0)                                        
    if not [email protected] == 0                                                                              
    then                                                                    
        0209: [email protected] = random_int_in_ranges 1 255 
        [email protected] = 0     
        0209: [email protected] = random_int_in_ranges 1 255 
    else
        [email protected] = 252
        [email protected] = 252          
        [email protected] = 0                                        
    end                                                                     
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA [email protected] [email protected] [email protected] 255                                                  
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 170.0 420.0 GXT 'ni4' number [email protected]                               
    09E8: [email protected] = actor $PLAYER_ACTOR active_interior                                       
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 0 204 255 255                                                
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 220.0 420.0 GXT 'ni5' number [email protected]
    Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected])
    008C: [email protected] = float [email protected] to_integer                                                      
    008C: [email protected] = float [email protected] to_integer                                                      
    008C: [email protected] = float [email protected] to_integer                                                      
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 204 255 51 255                                               
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045B: draw_text_2numbers 285.0 420.0 GXT 'ni6' numbers [email protected] [email protected]                         
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 255 255 51 255                                               
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 339.0 420.0 GXT 'ni21' number [email protected]                              
    [email protected] = Actor.Angle($PLAYER_ACTOR)                                                      
    008C: [email protected] = float [email protected] to_integer                                                      
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 204 153 102 255                                              
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 375.0 420.0 GXT 'ni8' number [email protected]                               
    07F6: get_group $PLAYER_GROUP number_of_leaders_to [email protected] number_of_members_to [email protected]         
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 66 238 161 255                                               
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 420.0 420.0 GXT 'ni9' number [email protected]                                
    0806: get_player 0 kills_from_last_checkpoint [email protected]                           
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 238 54 205 255                                               
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 470.0 420.0 GXT 'ni10' number [email protected]                               
    0956: get_respect_to [email protected]                                                              
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 127 255 0 255                                                
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 520.0 420.0 GXT 'ni11' number [email protected]                              
    00BF: [email protected] = current_time_hours, [email protected] = current_time_minutes                              
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 255 140 0 255                                                
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045B: draw_text_2numbers 570.0 420.0 GXT 'ni12' numbers [email protected] [email protected]                          
    0665: get_actor $PLAYER_ACTOR model_to [email protected]                                            
    0342: set_text_draw_centered 1                                                        
    0348: enable_text_draw_proportional 1                                                 
    0340: set_text_draw_RGBA 100 149 237 255                                              
    033F: set_text_draw_letter_size 0.2 1.2                                               
    045A: draw_text_1number 620.0 420.0 GXT 'ni13' number [email protected]                              
    if 0449:   actor $PLAYER_ACTOR in_a_car                                                                                      
    then                                                                                  
        0811: [email protected] = actor $PLAYER_ACTOR used_car                                          
        0ADB: [email protected] = car_model [email protected] name                                                    
        03F0: enable_text_draw 0                                                          
        0342: set_text_draw_centered 1                                                    
        0348: enable_text_draw_proportional 1                                             
        0340: set_text_draw_RGBA 255 153 0 255                                            
        033F: set_text_draw_letter_size 0.2 1.2                                           
        033E: set_draw_text_position 30.0 430.0 GXT 'ni14'                                 
        03F0: enable_text_draw 0                                                          
        0342: set_text_draw_centered 1                                                    
        0348: enable_text_draw_proportional 1                                             
        0340: set_text_draw_RGBA 204 102 255 255                                          
        033F: set_text_draw_letter_size 0.2 1.2                                           
        033E: set_draw_text_position 70.0 430.0 GXT [email protected]                                   
        [email protected] = Car.Health([email protected])                                                                        
        0084: [email protected] = [email protected] // (int)                                                                      
        if [email protected] > 250                                                                                          
        then                                                                                         
            [email protected] -= 250                                                                                    
            [email protected] /= 7                                                                                      
        end                                                                                          
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 102 153 255 255                                                     
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 120.0 430.0 GXT 'ni15' number [email protected]                                      
        02E3: [email protected] = car [email protected] speed                                                                     
        008C: [email protected] = float [email protected] to_integer                                                               
        [email protected] *= 4                                                                                      
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 51 255 51 255                                                       
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 175.0 430.0 GXT 'ni16' number [email protected]                                      
        03F3: get_car [email protected] primary_color_to [email protected] secondary_color_to [email protected]                                  
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 102 255 204 255                                                     
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045B: draw_text_2numbers 228.0 430.0 GXT 'ni17' numbers [email protected] [email protected]                                 
        051E: [email protected] = get_current_radio_station                                                        
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 255 255 0 255                                                       
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 278.0 430.0 GXT 'ni18' number [email protected]                                     
        09B3: get_car [email protected] door_status [email protected]                                                            
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 255 0 0 255                                                         
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 328.0 430.0 GXT 'ni19' number [email protected]                                     
        0AB8: get_vehicle [email protected] current_gear_to [email protected]                                                    
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 0 204 255 255                                                       
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 375.0 430.0 GXT 'ni20' number [email protected]                                     
        [email protected] = Car.Model([email protected])                                                                         
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 255 102 255 255                                                     
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 420.0 430.0 GXT 'ni22' number [email protected]                                     
        06A3: get_car [email protected] mass_to [email protected]                                                                
        0092: [email protected] = float [email protected] to_integer                                                             
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 470.0 430.0 GXT 'ni23' number [email protected]                                     
        0988: get_car [email protected] paintjob [email protected]                                                               
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 51 0 255 255                                                        
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 520.0 430.0 GXT 'ni24' number [email protected]                                     
        01E9: [email protected] = car [email protected] num_passengers                                                            
        0342: set_text_draw_centered 1                                                               
        0348: enable_text_draw_proportional 1                                                        
        0340: set_text_draw_RGBA 204 102 0 255                                                       
        033F: set_text_draw_letter_size 0.2 1.2                                                      
        045A: draw_text_1number 574.0 430.0 GXT 'ni25' number [email protected]                                      
    end
    if 0ab0: 55
    then
        wait 500
        03F0: enable_text_draw 0
        goto @start 
    end
end



 

  • a bad day, CoolMods and MrFinger like this

a bad day
  • a bad day

    too tired to talk to you

  • Members
  • Joined: 07 May 2015
  • None

#2

Posted A week ago

You create great scripts man! Keep it up! :)

  • Sanmodder likes this

Sanmodder
  • Sanmodder

    Fan script

  • Members
  • Joined: 11 Sep 2017
  • Poland

#3

Posted A week ago

You create great scripts man! Keep it up! :)

thanks man

  • a bad day likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users