منم تا حدي موافقم چون امكان نداره تو دو ماه تموم بشه.
پس اسكريپت نويسي چي مي شه؟
بهتره از يكي از اين تاپيكهاي برنامه نويسي كمك بگيريم.بهتره يه نفر يه تاپيك باز كنه و درخواست برنامه نويس براي جي تي اي كنه.
منم تا حدي موافقم چون امكان نداره تو دو ماه تموم بشه.
پس اسكريپت نويسي چي مي شه؟
بهتره از يكي از اين تاپيكهاي برنامه نويسي كمك بگيريم.بهتره يه نفر يه تاپيك باز كنه و درخواست برنامه نويس براي جي تي اي كنه.
من اسم فایلای کل شخصیت ها تو سن اندریاس که تو gta3.img هست رو میدونم.
من گفتم مپ رو دو ماهه درست می کنم![]()
ولی آخه قبول کن سخته ..... 1 ماه روی ماشینای sAnAndreas کار کردیم بعد بریم سراغ VICE city ؟
ما توی San andreas همینجوریش مپ کم میاریم![]()
یحیی جان
شما واقعا بلدید مسیر ماشینا رو تغییر بدین ؟
;کاری نداره من براتون تبدیل میکنم و قط کافیه فرمت و dummy رو عوض کرد من خودم دارم رو سمند برای وای کار میکنم
من نمی دونم چی میشد یکی فقط یکی از کارکنان IPL جی تی ای سان آندریاس تو کل دنیا اصلیتش ایرانی بود.
الان یکی از دوستانم که باهم پی ای اس رو ادیت میکردیم تو خارج زندگی میکنه اما برنامه نویسی بازی ها رو خوب بلده و بازی پی ای اس تو کل دنیا داره حدودا دست اون میچرخه شاید اسمشو دیده باشید تو سایت های خارجی juce
Links to online resources:
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - SA-MP wiki
- [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
- [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
- [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
- [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
- [ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - A brilliant guide to setting up and running your own server.
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - hosting for you game modes (remember to include the .pwn)
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - This guide is rather hardcoded to AMX Mod X, but still good
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - paste code here for debugging
irc://irc.gtanet.com/sa-mp.scripting - official IRC channel
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - unofficial SA-MP PAWN documentation
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ] - some basic tutorials and other bits
(Reply if you have anything useful to be added/changed)
Interiors
Look down
GameText Styles
* 1
Notes: Fades out automatically after 6 secs. If you have a time setting longer than that, it will re-appear after fading out and repeat until the time ends.
* 2
Notes: Doesn't disappear.
* 3
* 4
* 5
Notes: Displays for 3 seconds, regardless of what time you set.
* 6
GameText Strings
~n~ - New line
~r~ - Red
~g~ - Green
~b~ - Blue
~w~ - White
~y~ - Yellow
Weapons
0 - Unarmed
1 - Brass Knuckles
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
16 - Grenades
17 - Tear Gas
18 - Molotovs
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
34 - Sniper Rifle
35 - RPG
36 - Missile Launcher
37 - Flame Thrower
38 - Minigun
39 - Sachel Charges
40 - Detonator
41 - Spray Paint
42 - Fire Extinguisher
43 - Camera
44 - Nightvision Goggles
45 - Thermal Goggles
46 - Parachute
(Credit to Opius)
(Edit by spookie):
$GTASA\data\AudioEvents.txt seems to contain a list of sound ids.
---------------------
CARS:
400 landstal
401 bravura
402 buffalo
403 linerun
404 peren
405 sentinel
406 dumper
407 firetruk
408 trash
409 stretch
410 manana
411 infernus
412 voodoo
413 pony
414 mule
415 cheetah
416 ambulan
417 leviathn
418 moonbeam
419 esperant
420 taxi
421 washing
422 bobcat
423 mrwhoop
424 bfinject
425 hunter
426 premier
427 enforcer
428 securica
429 banshee
430 predator
431 bus
432 rhino
433 barracks
434 hotknife
435 artict1
436 previon
437 coach
438 cabbie
439 stallion
440 rumpo
441 rcbandit
442 romero
443 packer
444 monster
445 admiral
446 squalo
447 seaspar
448 pizzaboy
449 tram
450 artict2
451 turismo
452 speeder
453 reefer
454 tropic
455 flatbed
456 yankee
457 caddy
458 solair
459 topfun
460 skimmer
461 pcj600
462 faggio
463 freeway
464 rcbaron
465 rcraider
466 glendale
467 oceanic
468 sanchez
469 sparrow
470 patriot
471 quad
472 coastg
473 dinghy
474 hermes
475 sabre
476 rustler
477 zr350
478 walton
479 regina
480 comet
481 bmx
482 burrito
483 camper
484 marquis
485 baggage
486 dozer
487 maverick
488 vcnmav
489 rancher
490 fbiranch
491 virgo
492 greenwoo
493 jetmax
494 hotring
495 sandking
496 blistac
497 polmav
498 boxville
499 benson
500 mesa
501 rcgoblin
502 hotrina
503 hotrinb
504 bloodra
505 rnchlure
506 supergt
507 elegant
508 journey
509 bike
510 mtbike
511 beagle
512 cropdust
513 stunt
514 petro
515 rdtrain
516 nebula
517 majestic
518 buccanee
519 shamal
520 hydra
521 fcr900
522 nrg500
523 copbike
524 cement
525 towtruck
526 fortune
527 cadrona
528 fbitruck
529 willard
530 forklift
531 tractor
532 combine
533 feltzer
534 remingtn
535 slamvan
536 blade
537 freight
538 streak
539 vortex
540 vincent
541 bullet
542 clover
543 sadler
544 firela
545 hustler
546 intruder
547 primo
548 cargobob
549 tampa
550 sunrise
551 merit
552 utility
553 nevada
554 yosemite
555 windsor
556 monstera
557 monsterb
558 uranus
559 jester
560 sultan
561 stratum
562 elegy
563 raindanc
564 rctiger
565 flash
566 tahoma
567 savanna
568 bandito
569 freiflat
570 streakc
571 kart
572 mower
573 duneride
574 sweeper
575 broadway
576 tornado
577 at400
578 dft30
579 huntley
580 stafford
581 bf400
582 newsvan
583 tug
584 petrotr
585 emperor
586 wayfarer
587 euros
588 hotdog
589 club
590 freibox
591 artict3
592 androm
593 dodo
594 rccam
595 launch
596 copcarla
597 copcarsf
598 copcarvg
599 copcarru
600 picador
601 swatvan
602 alpha
603 phoenix
604 glen*****
605 sadl*****
606 bagboxa
607 bagboxb
608 tugstair
609 boxburg
610 farmtr1
611 utiltr1
-------------------------
Car Colors
-----------------------------
Some sound IDs
1002: weak hit
1009: crash
1020: constant machinery noise
1021: machinery
1022: motor, stopping
1027: weaker hit
1035: garage door opening
1039: ?
1052: blip A
1053: blip B
1054: blip A (same as 1052)
1055: blip B (same as 1053)
1056: race: green light sound
1057: race: red light sound (start sound)
1058: selection sound
1062: *background music*
1068: *background music*
1076: *background music*
1083: map: place a marker
1084: map: remove a marker
1085: blip C
1095: loud hit
1097: *background music*
1100: metallic fence rattle A
1101: metallic fence rattle B
1130: punch A
1131: hit wooden object?
1132: camera click
1133: machinery
1134: spray can
1135: hit
1136: punch B
1137: high-pitch blip A
1138: high-pitch blip A
1139: high-pitch blip A
1140: crash A
1141: crash B
1142: stadium background noise
1144: splash
1145: ?
1147: car horn
1148: crash C
1149: blip (same as 1052?)
1150: selection sound
1153: garage door opening (same as 1035)
1159: explosion
1163: two-feet stomp (after jumping)
1165: bigger garage (hangar?) doors
1183: *background music*
1185: *background music*
1187: *background music*
1190: slap
----------------------
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
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.
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, Huh? (Something to do with the bonnet?, not used.)
1112, bnt_lr_slv2, slamvan, Huh? (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 Smiley
هم اکنون 1 کاربر در حال مشاهده این تاپیک میباشد. (0 کاربر عضو شده و 1 مهمان)