SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/04/2006, 06:10 AM   #11
Postality
Little Clucker
 
Join Date: Apr 2006
Posts: 3
Reputation: 0
Default General Reference

Okay, I'm on a roll here. So let me keep going.

It took a while, but I did it.

Here's the item TYPES and thier funtionality

Example Code:
AddStaticPickup(346, 2, 1297.4008,-1848.4597,14.000); // gun
This is the TYPE-----^

If it's not listed it was not pickupable and no visable or audiable effect was apparent.

X = can't pick it up
* = will lock your movement forward if walked on (I don't advise using it.)

0 Item does not display
2 Pickupable and respawns after a few minutes
3 Pickupable, no respawn
4 Disappears shortly after creation (used for drops?)
5 Disappears shortly after creation (used for drops?)
8 pickupable (no effect) - disappears shortly after creation (used for ?)
11 Blows Up few seconds after creation*
12 Blows Up few seconds after creation (car explosion? timer is the burning flame?)
13 X - Slowly descends in Z and eventually goes through the floor (parachute?)
15 Pickupable, no respawn
19 Pickupable with no effect (Information icon?)
22 Pickupable, no respawn

I've tested all the way up to 50, but 23-50 is the same result so there's probably no more =)

Enjoy
Postality is offline   Reply With Quote
Old 15/04/2006, 12:01 AM   #12
jbeta
Little Clucker
 
Join Date: Apr 2005
Posts: 4
Reputation: 0
Default General Reference

This may be obvious, but might be useful. :/

Working weapon IDs:

0 Unarmed
2 Golf Club
3 Night Stick
4 Knife
5 Baseball Bat
6 Shovel
7 Pool cue
8 Katana
9 Chainsaw
10 Purple Dildo
11 White Dildo
12 Long White Dildo
13 White Dildo 2
14 Flowers
15 Cane
22 Pistol
23 Silenced Pistol
24 Desert Eagle
25 Shotgun
26 Sawn Off Shotgun
27 Combat Shotgun
28 Micro Uzi (Mac 10)
29 MP5
30 AK47
31 M4
32 Tec9
33 Rifle
37 Flame Thrower
38 Minigun
41 Spray Paint
42 Fire Extinguisher
46 Parachute

Working, but very prone to crash:
39 Sachel Charges
40 Detonator

Weapons that show on the spawn selection screen, but will crash your game:
1 Brass Knuckles
16 Grenades
17 Tear Gas

Weapons that don't show on the spawn selection screen, and will crash your game:
18 Molotovs
44 Nightvision Goggles
45 Thermal Goggles

Weapons that lock you in first person mode (/kill won't get you out):
34 Sniper Rifle
35 RPG
36 Missile Launcher
43 Camera

Edit: Removed Satchel Charges & Detonator, based on personal experience and this post.
jbeta is offline   Reply With Quote
Old 17/04/2006, 10:39 AM   #13
Arctos
Little Clucker
 
Join Date: Apr 2006
Posts: 3
Reputation: 0
Default General Reference

~n~ - New line
~r~ - Red
~g~ - Green
~b~ - Blue
~w~ - White
~y~ - Yellow
~p~ - Pink

So only thisis working or is more like this cuz i need lightblue color or cyan, or aqua, in choseng a skin menu so can somebody help ??
Arctos is offline   Reply With Quote
Old 24/04/2006, 06:44 AM   #14
Denver
Little Clucker
 
Join Date: Apr 2006
Posts: 3
Reputation: 0
Default Re: General Reference

______SOUND ID'S______

SOUND_CEILING_VENT_LAND 1002
SOUND_BONNET_DENT 1009
SOUND_WHEEL_OF_FORTUNE_CLACKER 1027
SOUND_SHUTTER_DOOR_START 1035
SOUND_SHUTTER_DOOR_STOP 1036
SOUND_PARACHUTE_OPEN 1039
SOUND_AMMUNATION_BUY_WEAPON 1052
SOUND_AMMUNATION_BUY_WEAPON_DENIED 1053
SOUND_SHOP_BUY 1054
SOUND_SHOP_BUY_DENIED 1055
SOUND_RACE_321 1056
SOUND_RACE_GO 1057
SOUND_PART_MISSION_COMPLETE 1058
SOUND_GOGO_TRACK_START 1062 -music
SOUND_GOGO_TRACK_STOP 1063 -music
SOUND_DUAL_TRACK_START 1068 -music
SOUND_DUAL_TRACK_STOP 1069 -music
SOUND_BEE_TRACK_START 1076 -music
SOUND_BEE_TRACK_STOP 1077 -music
SOUND_ROULETTE_ADD_CASH 1083
SOUND_ROULETTE_REMOVE_CASH 1084
SOUND_ROULETTE_NO_CASH 1085
SOUND_AWARD_TRACK_START 1097 -music
SOUND_AWARD_TRACK_STOP 1098 -music
SOUND_PUNCH_PED 1130
SOUND_AMMUNATION_GUN_COLLISION 1131
SOUND_CAMERA_SHOT 1132
SOUND_BUY_CAR_MOD 1133
SOUND_BUY_CAR_RESPRAY 1134
SOUND_BASEBALL_BAT_HIT_PED 1135
SOUND_STAMP_PED 1136
SOUND_CHECKPOINT_AMBER 1137
SOUND_CHECKPOINT_GREEN 1138
SOUND_CHECKPOINT_RED 1139
SOUND_CAR_SMASH_CAR 1140
SOUND_CAR_SMASH_GATE 1141
SOUND_OTB_TRACK_START 1142
SOUND_OTB_TRACK_STOP 1143
SOUND_PED_HIT_WATER_SPLASH 1144
SOUND_RESTAURANT_TRAY_COLLISION 1145
SOUND_SWEETS_HORN 1147
SOUND_MAGNET_VEHICLE_COLLISION 1148
SOUND_PROPERTY_PURCHASED 1149
SOUND_PICKUP_STANDARD 1150
SOUND_GARAGE_DOOR_START 1153
SOUND_GARAGE_DOOR_STOP 1154
SOUND_PED_COLLAPSE 1163
SOUND_SHUTTER_DOOR_SLOW_START 1165
SOUND_SHUTTER_DOOR_SLOW_STOP 1166
SOUND_RESTAURANT_CJ_PUKE 1169
SOUND_DRIVING_AWARD_TRACK_START 1183 -music
SOUND_DRIVING_AWARD_TRACK_STOP 1184
SOUND_BIKE_AWARD_TRACK_START 1185 -music
SOUND_BIKE_AWARD_TRACK_STOP 1186
SOUND_PILOT_AWARD_TRACK_START 1187 -music
SOUND_PILOT_AWARD_TRACK_STOP 1188


Denver is offline   Reply With Quote
Old 15/05/2006, 03:32 PM   #15
PsYcHoGoD
Little Clucker
 
Join Date: Jan 2006
Posts: 10
Reputation: 0
Default Re: General Reference

Weapon Models

331 - Brass Knuckles
333 - Golf Club
334 - Night Stick
335 - Knife
336 - Baseball Bat
337 - Shovel
338 - Pool cue
339 - Katana
341 - Chainsaw
321 - Purple Dildo
322 - White Dildo
323 - Long White Dildo
324 - White Dildo 2
325 - Flowers
326 - Cane
342 - Grenades
343 - Tear Gas
344 - Molotovs
345 - Missile (crashy?)
346 - Pistol
347 - Silenced Pistol
348 - Desert Eagle
349 - Shotgun
350 - Sawn Off Shotgun
351 - Combat Shotgun
352 - Micro Uzi (Mac 10)
353 - MP5
354 - Hydra Flare
355 - AK47
356 - M4
372 - Tec9
357 - Rifle
358 - Sniper Rifle
359 - RPG
360 - Missile Launcher
361 - Flame Thrower
362 - Minigun
363 - Sachet Charges
364 - Detonator
365 - Spray Paint
366 - Fire Extinguisher
367 - Camera
368 - Nightvision Goggles
369 - Thermal Goggles
371 - Parachute

(Credits to ceedje)
PsYcHoGoD is offline   Reply With Quote
Old 19/05/2006, 03:55 PM   #16
JernejL
Beta Tester
 
JernejL's Avatar
 
Join Date: Jan 2006
Location: Slovenia
Posts: 565
Reputation: 366
Default Re: General Reference

I just finished my GTA:SA actor ide number reference with screenshoots of front and back sides here:

http://gtatools.com/index.php?action...es&site=sapeds

TEMP URL:
http://gtatools.no-ip.org
__________________


8.2.121.99:7777 - Partyserver - TurtleServer (now with extra turtles)!

SA-MP map editor: Not a in-game script but a proper windows application!
http://forum.sa-mp.com/showthread.php?t=282801
JernejL is offline   Reply With Quote
Old 29/05/2006, 03:42 PM   #17
Allan
Little Clucker
 
Join Date: May 2006
Posts: 38
Reputation: 0
Default Re: General Reference

Paintjobs: I read into it, and according to the stuff I read (some San Andreas Op-Code site), the paintjob ID's are from 0 to 5. Anything higher adds some funky sh1t to the car for a paintjob!

And, Car part ID's: (From veh_mods.ide)

1000, Generic Spoiler
1001, Generic Spoiler
1002, Generic Spoiler
1003, Generic Spoiler
1004, Bonnet Scoop?
1005, Bonnet Scoop?
1006, Generic Vehicle Roof-Scoop
1007, Generic Vehicle Side Skirt (L)
1008, Nitro - 5 Shots
1009, Nitro - 2 Shots
1010, Nitro - 10 Shots
1011, Bonnet Scoop?
1012, Bonnet Scoop?
1013, Round Fog Lamps
1014, Generic Spoiler (Large?)
1015, Generic Spoiler (Large?)
1016, Generic Spoiler
1017, Generic Vehicle Side Skirt (R)
1018, Curved Twin Cylinder Generic Exhaust
1019, Twin Cylinder Generic Exhaust
1020, Large Generic Exhaust
1021, Medium Generic Exhaust
1022, Small Generic Exhaust?
1023, Generic Spoiler
1024, Square Fog Lamps
1025, Off Road Wheel.
1026, Sultan Side Skirt Type 1 (L)
1027, Sultan Side Skirt Type 1 (R)
1028, Sultan Exhaust Type 1
1029, Sultan Exhaust Type 2
1030, Sultan Side Skirt Type 2 (R)
1031, Sultan Side Skirt Type 1 (L)
1032, Sultan Roof Scoop type 1
1033, Sultan Roof Scoop type 2
1034, Elegy Ehaust type 1
1035, Elegy Roof Scoop Type 1
1036, Elegy Side Skirt type 1 (L)
1037, Elegy Exhaust Type 2
1038, Elegy Roof Scoop type 2
1039, Elegy Side Skirt type 2 (L)
1040, Elegy Side Skirt type 1 (R)
1041, Elegy Side Skirt type 2 (R)
1042, Broadway Side Skirt (L)
1043, Broadway Exhaust type 2
1044, Broadway Exhahst type 1
1045, Flash Exhaust type 2
1046, Flash Exhaust type 1
1047, Flash Side Skirt type 1 (L)
1048, Flash Side Skirt type 2 (L)
1049, Flash Spoiler type 1
1050, Flash Spoiler type 2
1051, Flash Side Skirt type 1 (R)
1052, Flash Side Skirt type 2 (R)
1053, Flash Roof Scoop type 2
1054, Flash Roof Scoop type 1
1055, Stratum Roof Scoop type 1
1056, Stratum Side Skirt type 1 (L)
1057, Stratum Side Skirt type 2 (L)
1058, Stratum Spoiler type 1
1059, Stratum Exhaust type 2
1060, Stratum Spoiler type 2
1061, Stratum Roof Scoop type 2
1062, Stratum Side Skirt type 1 (R)
1063, Stratum Side Skirt type 2 (R)
1064, Stratum Exhaust type 1
1065, Jester Exhaust type 1
1066, Jester Exhaust type 2
1067, Jester Roof Scoop type 1
1068, Jester Roof Scoop type 2
1069, Jester Side Skirt type 1 (L)
1070, Jester Side Skirt type 2 (L)
1071, Jester Side Skirt type 1 (R)
1072, Jester Side Skirt type 2 (R)
1073, Wheel Arch Angels Wheel type 6
1074, Wheel Arch Angels Wheel type 3
1075, Wheel Arch Angels Wheel type 2
1076, Loco' Low Co. Wheel type 4
1077, Loco' Low Co. Wheel type 1
1078, Loco' Low Co. Wheel type 3
1079, Wheel Arch Angels Wheel type 1
1080, Wheel Arch Angels Wheel type 5
1081, Wheel Arch Angels Wheel type 4
1082, Transfender Wheel type 1
1083, Loco' Low Co. Wheel type 2
1084, Loco' Low Co. Wheel type 5
1085, Transfender Wheel type 2
1086, Stereo Bass Boost
1087, Hydralics
1088, Uranus Roof Scoop 1
1089, Uranus Exhaust Type 1
1090, Uranus Side Skirt type 1 (L)
1091, Uranus Roof Scoop 2
1092, Uranus Exhaust Type 2
1093, Uranus Side Skirt type 2 (L)
1094, Uranus Side Skirt type 1 (R)
1095, Uranus Side Skirt type 2 (R)
1096, Transfender Wheel type 3
1097, Transfender Wheel type 4
1098, Transfender Wheel type 5
1099, Broadway Side Skirt (R)
1100, Remington Misc. Part 1
1101, Remington Side Skirt type 1 (R)
1102, Savanna Side Skirt (R)
1103, Blade Roof type 2
1104, Blade Exhaust type 1
1105, Blade Exhaust type 2
1106, Remington Side Skirt type 2 (L)
1107, Blade Side Skirt (R)
1108, Blade Side Skirt (L)
1109, Slamvan Rear Bullbars type 1
1110, Slamvan Rear Bullbars type 2
1111, bnt_lr_slv1, slamvan, (Something to do with the bonnet?, not used.)
1112, bnt_lr_slv2, slamvan, (Something to do with the bonnet?, not used.)
1113, Slamvan Exhaust type 1
1114, Slamvan Exhaust type 2
1115, Slamvan Front Bullbars type 1
1116, Slamvan Front Bullbars type 2
1117, Slamvan Front Bumper
1118, Slamvan Side Skirt type 1 (L)
1119, Slamvan Side Skirt type 2 (L)
1120, Slamvan Side Skirt type 1 (R)
1121, Slamvan Side Skirt type 2 (R)
1122, Remington Side Skirt type 1 (L)
1123, Remington Misc. Part 2
1124, Remington Side Skirt type 2 (R)
1125, Remington Misc. Part 3
1126, Remington Exhaust type 1
1127, Remington Exhaust type 2
1128, Blade Roof Type 1
1129, Savanna Exhaust type 1
1130, Savanna Roof type 1
1131, Savanna Roof type 2
1132, Savanna Exhaust type 2
1133, Savanna Side Skirt (L)
1134, Tornado Side Skirt (L)
1135, Tornado Exhaust type 2
1136, Tornado Exhaust type 1
1137, Tornado Side Skirt (R)
1138, Sultan Spoiler type 1
1139, Sultan Spoiler type 2
1140, Sultan Rear Bumper type 2
1141, Sultan Rear Bumper type 1
1142, Oval Bonnet Vents (R)
1143, Oval Bonnet Vents (L)
1144, Square Bonnet Vents (R)
1145, Square Bonnet Vents (L)
1146, Elegy Spoiler type 2
1147, Elegy Spoiler type 1
1148, Elegy Rear Bumper type 2
1149, Elegy Rear Bumper type 1
1150, Flash Rear Bumper type 1
1151, Flash Rear Bumper type 2
1152, Flash Front Bumper type 2
1153, Flash Front Bumper type 1
1154, Stratum Rear Bumper type 1
1155, Stratum Front Bumper type 1
1156, Stratum Rear Bumper type 2
1157, Stratum Front Bumper type 2
1158, Jester Spoiler type 2
1159, Jester Rear Bumper type 1
1160, Jester Front bumper type 1
1161, Jester Rear bumper type 2
1162, Jester Spoiler type 1
1163, Uranus Spoiler type 2
1164, Uranus Spoiler type 1
1165, Uranus Front Bumper type 2
1166, Uranus Rear Bumper type 2
1167, Uranus Front Bumper type 1
1168, Uranus Rear Bumper type 1
1169, Sultan Front Bumper type 1
1170, Sultan Front Bumper type 2
1171, Elegy Front Bumper type 1
1172, Elegy Front Bumper type 2
1173, Jester Front Bumper type 2
1174, Broadway Front Bumper type 1
1175, Broadway Front Bumper type 2
1176, Broadway Rear Bumper type 1
1177, Broadway Rear Bumper type 2
1178, Remington Rear Bumper type 2
1179, Remington Front Bumper type 1
1180, Remington Rear Bumper type 2
1181, Blade Front Bumper type 2
1182, Blade Front Bumper type 1
1183, Blade Rear Bumper type 2
1184, Blade Rear Bumper type 1
1185, Remington Front Bumper type 2
1186, Savanna Rear Bumper type 2
1187, Savanna Rear Bumper type 1
1188, Savanna Front Bumper type 2
1189, Savanna Front Bumper type 1
1190, Tornado Rear Bumper type 1
1191, Tornado Rear Bumper type 2
1192, Tornado Front Bumper type 1
1193, Tornado Front Bumper type 2

Things to note about this:

None of these are of any use ATM, as neither ChangeVehiclePaintJob, or AddVehicleComponent work, because the trucks in LokelYokel were supposed to have NOS, and custom rims,and they dont! (And i've run a command on every vehicle in my gamemode, attempting to install every single part avaliable(Even paintjobs), none worked.) >=(

(L) = Left side only , (R) = Right Side only.

I cannot guarantee that the types of parts for "Type 1" and "Type 2" will be consistant throughout this file, however, I'm pretty sure they are
Allan is offline   Reply With Quote
Old 31/05/2006, 12:15 AM   #18
Manej
Little Clucker
 
Join Date: May 2006
Posts: 1
Reputation: 0
Default Re: General Reference

Has anyone found the sound ID for the siren heard in the original Black Project Mission? Is it possible to make sounds loop?
Manej is offline   Reply With Quote
Old 31/05/2006, 01:02 AM   #19
Allan
Little Clucker
 
Join Date: May 2006
Posts: 38
Reputation: 0
Default Re: General Reference

SOUND_SECURITY_ALARM 41800
SOUND__SECURITY_ALARM 42801
SOUND_CAT2_SECURITY_ALARM 1155
SOUND__CAT2_SECURITY_ALARM 9200

One of those may be what you're after. (But i think the Cat2 ones are from the Bank Heist from Catalina's missions)

Also, to loop sounds, have the sound run on a timer, or some sounds (IE: Klaxons, Alarms) may auto-loop anyway. Experiment with it
Allan is offline   Reply With Quote
Old 06/06/2006, 09:10 PM   #20
Allan
Little Clucker
 
Join Date: May 2006
Posts: 38
Reputation: 0
Default Re: General Reference

In a topic I wrote about 3 pages back through the thread list, I said I was going to make an Interior Universe probe thingy script.

Well, i found this on the net: http://www.gtacentral.com/carpetdwel...ishlist01.html (Credit to carpetdweller from GTAForums)

And used my Interior Universe Probe script to test it. Every single Interior listed there was correct =D

So, that's something useful for you lot =)
Allan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make a soldier aotumaticly be general when the general dies ? AlbanianGuy Scripting Help 35 13/05/2012 03:35 PM
Help general [ZX]_Whitewolf Help Archive 0 15/06/2010 11:04 PM
A Full Pawn Reference Jonni8 General 4 20/05/2010 10:35 PM
Team Balancer -(Fixed but someone might want to read for reference) [HLF]Southclaw Help Archive 4 26/01/2010 08:24 AM
[SOLVED!] Strings as reference parameters... XPlatform Plugin Development 4 23/08/2009 10:40 PM


All times are GMT. The time now is 01:59 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.