Scripts Tutorials SCRIPTS FOR CLANWAR SERVER. Name: CLANWAR SCRIPT Type: luac About: this is clanwar script for your cw server. Ccw.zip: File Size: 54 kb. mta:saiphone script- download Hello Guys! This is SAUR Phone Script created By Castillo & Edit By Me,This Script is useful for RPG/RP/Freeroam/etc Servers.The. This script enables you to display your Music (Artist and Title) in your Channel description. 5.00 star(s) 1 ratings Downloads 26 Updated Oct 30, 2020.
This article needs checking. |
Reason(s):
|
This function allows you to set the value of a specific statistic for a ped. Visual stats (FAT and BODY_MUSCLE) can only be used on the CJ skin, they have no effect on other skins.
When this function is used client side, it can only be used on client side created peds.
Syntax
Required Arguments
- thePed: the ped whose statistic you want to modify.
- stat: the stat ID.
- 0: PROGRESS_MADE
- 1: TOTAL_PROGRESS
- 2: LONGEST_BASKETBALL
Distances:
- 3: DIST_FOOT
- 4: DIST_CAR
- 5: DIST_BIKE
- 6: DIST_BOAT
- 7: DIST_GOLF_CART
- 8: DIST_HELICOPTER
- 9: DIST_PLANE
- 10: LONGEST_WHEELIE_DIST
- 11: LONGEST_STOPPIE_DIST
- 12: LONGEST_2WHEEL_DIST
Cash:
- 13: WEAPON_BUDGET
- 14: FASHION_BUDGET
- 15: PROPERTY_BUDGET
- 16: SPRAYING_BUDGET
Times:
- 17: LONGEST_WHEELIE_TIME
- 18: LONGEST_STOPPIE_TIME
- 19: LONGEST_2WHEEL_TIME
- 20: FOOD_BUDGET
Body:
- 21: FAT
- 22: STAMINA
- 23: BODY_MUSCLE
- 24: MAX_HEALTH
- 25: SEX_APPEAL
- 26: DIST_SWIMMING
- 27: DIST_CYCLE
- 28: DIST_TREADMILL
- 29: DIST_EXCERSISE_BIKE
- 30: TATTOO_BUDGET
- 31: HAIRDRESSING_BUDGET
- 33: PROSTITUTE_BUDGET
Gambling:
- 35: MONEY_SPENT_GAMBLING
- 36: MONEY_MADE_PIMPING
- 37: MONEY_WON_GAMBLING
- 38: BIGGEST_GAMBLING_WIN
- 39: BIGGEST_GAMBLING_LOSS
- 40: LARGEST_BURGLARY_SWAG
- 41: MONEY_MADE_BURGLARY
- 44: LONGEST_TREADMILL_TIME
- 45: LONGEST_EXCERSISE_BIKE_TIME
- 46: HEAVIEST_WEIGHT_BENCH_PRESS
- 47: HEAVIEST_WEIGHT_DUMBELLS
- 48: BEST_TIME_HOTRING
- 49: BEST_TIME_BMX
- 51: LONGEST_CHASE_TIME
- 52: LAST_CHASE_TIME
- 53: WAGE_BILL
- 54: STRIP_CLUB_BUDGET
- 55: CAR_MOD_BUDGET
- 56: TIME_SPENT_SHOPPING
- 62: TOTAL_SHOPPING_BUDGET
- 63: TIME_SPENT_UNDERWATER
Respect:
- 64: RESPECT_TOTAL
- 65: RESPECT_GIRLFRIEND
- 66: RESPECT_CLOTHES
- 67: RESPECT_FITNESS
- 68: RESPECT
Weapon skills:
Note: see Weapon skill levels for the values that advance weapon skills.
- 69: WEAPONTYPE_PISTOL_SKILL
- 70: WEAPONTYPE_PISTOL_SILENCED_SKILL
- 71: WEAPONTYPE_DESERT_EAGLE_SKILL
- 72: WEAPONTYPE_SHOTGUN_SKILL
- 73: WEAPONTYPE_SAWNOFF_SHOTGUN_SKILL
- 74: WEAPONTYPE_SPAS12_SHOTGUN_SKILL
- 75: WEAPONTYPE_MICRO_UZI_SKILL
- 76: WEAPONTYPE_MP5_SKILL
- 77: WEAPONTYPE_AK47_SKILL
- 78: WEAPONTYPE_M4_SKILL
- 79: WEAPONTYPE_SNIPERRIFLE_SKILL
- 80: SEX_APPEAL_CLOTHES
- 81: GAMBLING
- 120: PEOPLE_KILLED_BY_OTHERS
- 121: PEOPLE_KILLED_BY_PLAYER
- 122: CARS_DESTROYED
- 123: BOATS_DESTROYED
- 124: HELICOPTORS_DESTROYED
- 125: PROPERTY_DESTROYED
- 126: ROUNDS_FIRED
- 127: EXPLOSIVES_USED
- 128: BULLETS_HIT
- 129: TYRES_POPPED
- 130: HEADS_POPPED
- 131: WANTED_STARS_ATTAINED
- 132: WANTED_STARS_EVADED
- 133: TIMES_ARRESTED
- 134: DAYS_PASSED
- 135: TIMES_DIED
- 136: TIMES_SAVED
- 137: TIMES_CHEATED
- 138: SPRAYINGS
- 139: MAX_JUMP_DISTANCE
- 140: MAX_JUMP_HEIGHT
- 141: MAX_JUMP_FLIPS
- 142: MAX_JUMP_SPINS
- 143: BEST_STUNT
- 144: UNIQUE_JUMPS_FOUND
- 145: UNIQUE_JUMPS_DONE
- 146: MISSIONS_ATTEMPTED
- 147: MISSIONS_PASSED
- 148: TOTAL_MISSIONS
- 149: TAXI_MONEY_MADE
- 150: PASSENGERS_DELIVERED_IN_TAXI
- 151: LIVES_SAVED
- 152: CRIMINALS_CAUGHT
- 153: FIRES_EXTINGUISHED
- 154: PIZZAS_DELIVERED
- 155: ASSASSINATIONS
- 156: LATEST_DANCE_SCORE
- 157: VIGILANTE_LEVEL
- 158: AMBULANCE_LEVEL
- 159: FIREFIGHTER_LEVEL
Script Metal House Numbers
- 160: DRIVING_SKILL
- 161: TRUCK_MISSIONS_PASSED
- 162: TRUCK_MONEY_MADE
- 163: RECRUITED_GANG_MEMBERS_KILLED
- 164: ARMOUR
- 165: ENERGY
- 166: PHOTOS_TAKEN
- 167: KILL_FRENZIES_ATTEMPTED
- 168: KILL_FRENZIES_PASSED
- 169: FLIGHT_TIME
- 170: TIMES_DROWNED
- 171: NUM_GIRLS_PIMPED
- 172: BEST_POSITION_HOTRING
- 173: FLIGHT_TIME_JETPACK
- 174: SHOOTING_RANGE_SCORE
- 175: VALET_CARS_PARKED
- 176: KILLS_SINCE_LAST_CHECKPOINT
- 177: TOTAL_LEGITIMATE_KILLS
- 178: BLOODRING_KILLS
- 179: BLOODRING_TIME
- 180: NO_MORE_HURRICANES
- 181: CITIES_PASSED
- 182: POLICE_BRIBES
- 183: CARS_STOLEN
- 184: CURRENT_GIRLFRIENDS
- 185: BAD_DATES
- 186: GIRLS_DATED
- 187: TIMES_SCORED_WITH_GIRL
- 188: DATES
- 189: GIRLS_DUMPED
- 190: TIMES_VISITED_PROSTITUTE
- 191: HOUSES_BURGLED
- 192: SAFES_CRACKED
- 194: STOLEN_ITEMS_SOLD
- 195: EIGHT_BALLS_IN_POOL
- 196: WINS_IN_POOL
- 197: LOSSES_IN_POOL
- 198: VISITS_TO_GYM
- 200: MEALS_EATEN
- 225: UNDERWATER_STAMINA
- 229: BIKE_SKILL
- 230: CYCLE_SKILL
- value: the new value of the stat. It must be between 0 and 1000.
Returns
Returns true if the statistic was changed succesfully. Returns false if an invalid player is specified, if the stat-id/value is out of acceptable range or if the FAT or BODY_MUSCLE stats are used on non-CJ players.
Examples
This example allows a player to type the command 'beefcake' to change his player's BODY_MUSCLE stat (#23) to the maximum value of 1000. This will result in him looking really muscular.
This example adds a /upgradeskills command to give the player who types it the maximum skill with every weapon and maximum health.
See Also
Upload new resource (or update existing resource)
Filter options
Script Mta Sa
Fill in one or more of the fields above and click on 'Search' to browse Resources..
Top Downloads
Name | Long name | Description | Downloads | Type |
---|---|---|---|---|
zombies | Zday script | Zday, a zombie infestation script f.. | 150217 | script |
guieditor | GUI Editor | GUI Editor is a resource designed to a.. | 99021 | misc |
house_system | House System by DakiLLa (Building/Mana.. | 80368 | script | |
bank | Bank System | GUI Based bank system. FOR MTA:SA 1.. | 73401 | script |
zombiegamemode | Zombie Gamemode | Zombie Gamemode - all-in-one gamemode .. | 72677 | gamemode |
hedit | Ingame Handling Editor | This is the official Handling Editor, .. | 61398 | script |
modloader | ModLoader | Never having to edit meta.xml, never b.. | 55913 | script |
dxscoreboard | Scoreboard | NEW: The scoreboard is now a part of M.. | 44132 | script |
glue | glue | Script to glue yourself to a vehicle. .. | 41458 | script |
freeroam | Freeroam GUI | Staff note: This may be outdated. Plea.. | 41254 | gamemode |
shader_flashlight_test | Shader Flashlight test | This resource is discontinued. It uses.. | 39235 | script |
business | Business System | Info can be found here: http://forum... | 35806 | script |
godmother - reallife script | Im Prinzip ist diese Version die gleic.. | 35043 | gamemode | |
heligrab | Helicopter Grabbing | This is a resource allowing players to.. | 33073 | misc |
race | Race | Staff note: This may be outdated. Plea.. | 32033 | gamemode |
Top rated Resources (with at least 10 votes)
Name | Long name | Description | Rating | Type |
---|---|---|---|---|
custom_coronas | custom_coronas | Resource: Custom Coronas v1.2.0 Video.. | 4.9 | script |
calculator_machine | Calculator Bind Key: F3 Do not forge.. | 4.7 | script | |
rage_gta_v_radar | Rage's GTA V Radar | Grand Theft Auto V Radar By Rage Cu.. | 4.7 | script |
watereffects | WaterEffects | This is a short version of a postproce.. | 4.7 | script |
shaderpednormal | Shader Ped Normal | Resource: Shader Ped Normal v1.0.2 Vi.. | 4.6 | script |
ctf | Capture the Flag | MTA's CTF Mode. | 4.6 | gamemode |
voicegui | Voice GUI | Ever wanted a nice little GUI to go wi.. | 4.6 | script |
[scr]weapon-select-gtav | Weapon Select GTA V | Weapon Select estilo do GTAV, tem pouc.. | 4.4 | misc |
egzozpatlatma | backfire | Script Video: http://www.youtube.com/w.. | 4.4 | script |
jay_graffiti | Graffiti system | @ Graffiti System - Save & load (json.. | 4.3 | script |
shader_depth_of_field | Resource: Shader Depth of Field v0.1.0.. | 4.3 | script | |
admin tag | Admin tag | Admin-Tag By Eruption* * Admin Tag .. | 4.3 | script |
object_preview | Object Preview | Resource: Object Preview v0.6.9 Autho.. | 4.2 | script |
adblock | AdBlock | For this resource to work, type this i.. | 4.2 | script |
cs_announce | 99 | This is nice announce script taken fro.. | 4.2 | script |
rssRecently uploaded Resources
Name | Version | Publish Date | Type |
---|---|---|---|
fighting tournament with 20 levels | 1.0.0 | 2020-12-04 21:30:10 | misc |
christmasmap | 1.0.0 | 2020-12-04 05:21:21 | map |
3dyazi-3dtext | 1.0.0 | 2020-12-03 07:18:24 | script |
customtext | 1.0.0 | 2020-12-02 23:55:34 | script |
moonmod | 1.0.0 | 2020-12-02 22:51:40 | misc |
villachica | 1.0.0 | 2020-12-01 21:29:19 | map |
conguard (anti-lagswitch for dd) | 0.1.0 | 2020-12-01 21:12:29 | script |
b1tzaplayer | 1.5.0 | 2020-11-28 16:35:06 | script |
[race]-skilz-death-race | 1.0.0 | 2020-11-27 14:23:28 | map |
cashsafe | 1.0.0 | 2020-11-26 17:36:37 | script |
car-dealership | 4.1.0 | 2020-11-22 15:57:48 | script |
simple-notifications | 1.0.0 | 2020-11-22 15:35:37 | script |
mk2 | 1.0.0 | 2020-11-21 20:02:03 | misc |
baza-san-fierro | 1.0.0 | 2020-11-21 18:05:28 | map |
data-pl | 1.0.0 | 2020-11-19 17:30:08 | script |