|
|
#1 | |
|
Little Clucker
![]() Join Date: Jan 1970
Posts: 20
Reputation: 36
|
Links to online resources:
- http://wiki.sa-mp.com/wiki/Main_Page - SA-MP wiki - http://wiki.sa-mp.com/wiki/Scripting_Basics - http://wiki.sa-mp.com/wiki/Scripting_Functions - http://wiki.sa-mp.com/wiki/Scripting_Callbacks - http://wiki.sa-mp.com/wiki/PAWN_tutorial_1 - http://wiki.sa-mp.com/wiki/PAWN_tutorial_2 - http://wiki.amxmodx.org/index.php/Pawn_Tutorial - This guide is rather hardcoded to AMX Mod X, but still good - http://pawn.pastebin.com/ - paste code here for debugging - http://irc://irc.gamesurge.net.com/sa-mp.scripting - official IRC scripting channel - http://stephantom2.st.funpic.de/experiments/samp/ - unofficial SA-MP PAWN documentation - http://www.gtamodding.com/index.php?title=Category:PAWN - some basic tutorials and other bits - http://www.compuphase.com/pawn/pawn.htm - PAWN homepage - http://www.compuphase.com/pawn/pawn.htm#DOWNLOAD_DOCS - List of library documents - http://www.compuphase.com/pawn/Pawn_Language_Guide.pdf - pawn-lang.pdf (Reply if you have anything useful to be added/changed) Interiors Look down GameText Styles
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. Animation Reference: http://www.sa-mp.com/scriptingRC3/SA_AnimList.txt _________________________________________________ 0.2 information topic: Debug Mode: When you load debug it goes into single player - this is now correct. Commands still work however F11 and F12 crash currently. There is also a debug script mode: Topic Internal Errors: If you get these reinstall, it means SA:MP has detected mods and is refusing to let you play as mods are not allowed. Quote:
These have been removed as if you don't want them they're annoying and if you do want them they're very easy to add via PAWN. Animations: Topic SetTimerEx, CallRemoteFunction and CallLocalFunction: These require a special type of format parameter to describe the parameters you are passing. These are the same parameters as are used by sscanf (which is FAR better than strtok for getting parameters from commands). A full description is available here. Nightvision/Infrared: These have never once been mentioned by the dev team, I don't know why so many people think they work because they don't. Trams: Trams are not fully natively supported by SA:MP however there is code to assist: Topic Text Draw: A long standing bane of the SCM coding scene, while relatively simple to get working it can take hours of tweaking to get to look right. Topic Number Plates: Basically - set the number plate and respawn the vehicle. Topic Gravity: Default gravity is 0.008 NOT 1. Tyre Popping: Readded. Generic Limits:
Compatibility Issues: Compiler compatibility topic. OnPlayerDisconnect now has a reason parameter: public OnPlayerDisconnect(playerid, reason) {} 0 = Timeout 1 = Left 2 = Kicked SetPlayerSkin is now persistent across respawns. Weapon Slot Weapons:
Other: This is basically a cross between an FAQ and General Reference, any other information you feel is relevant please post. Last edited by dugi; 30/11/2010 at 01:39 PM. |
|
|
|
|
|
|
#2 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2006
Location: New Zealand
Posts: 522
Reputation: 46
|
6 is LSPD Interior.
EDIT: I've decided a better name for this interior would be Generic Police Interior. As if you got the co-ords from the LSPD station and set a player to spawn from it you'd spawn inside all fancy and well - but the marker takes you to Red County Police Station; so I assume that the game does something when you enter through the marker to make sure you go out the correct door. So in short... this "is" the LSPD Interior but it is also used as an interior for other police stations. Spawning in here then walking outside takes you to Red County.. |
|
|
|
|
|
#3 |
|
U.S. Army Soldier
![]() ![]() ![]() ![]() ![]() Join Date: May 2005
Location: Peoria, IL, USA
Posts: 541
Reputation: 192
|
Well stacked Pizza - 5
Tatoo Shop - 16 CJ's House - 3 |
|
|
|
|
|
#4 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 3
Reputation: 0
|
I believe 14 is The Johnson House according to Cam's San Fierro TDM Script.
|
|
|
|
|
|
#5 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 3
Reputation: 0
|
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 |
|
|
|
|
|
#6 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 3
Reputation: 0
|
Car Colors
|
|
|
|
|
|
#7 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 1
Reputation: 0
|
Some sound IDs:
1052 - 1058 = various blips 1020 - 1022, 1035 = heavy machinery 1062, 1068 = music |
|
|
|
|
|
#8 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 7
Reputation: 0
|
List Of Heavens And Interiors:
Heaven 1 (Liberty Heaven): Ammunation V2 Burglary House X3 Cafe Caligulas Casino Denise's Sex Place Jet Liberty City Sweet's House San Fierro Garage Sindacco Abatoir Sub Urban Transfenders Trials Stadium Warehouse 2 Welcome Pump, The Wu Zi Mu's Heaven 2 (B Dups Crack Heaven): Angel Pine Trailer B Dups Crack Palace Big Smoke's Crack Palace Burglary House X2 Burglary House X9 Burglary House X10 Katie's Sex Place Loco Low Co. Pig Pen, The Reece's Barbershop Ryder's House Heaven 3 (Ho Heaven): B Dups Apartment Bike School Big Spread Ranch, The Brothel Brothel 2 Budget Inn Motel Room Burglary House X1 Gay Gordo's Barbershop Helena's Sex Place Inside Track Betting Jizzy's Pleasure Domes LV Tattoo Parlour LVPD HQ OG Locs House Pro-Laps Planning Department Record Label Hallway Sex Shop Wheel Arch Angels Heaven 4 (Thief Heaven): 24/7 (V5) Ammu-Nation (Palamino) Burglary House X12 Burglary House X13 Burglary House X15 Diner 2 Dirtbike Stadium Michelle's Sex Place Heaven 5 (Gym Heaven): Barbara's Sex Place Burglary House X11 Burglary House X16 Burglary House X17 Crack Den Diner Ganton Gym Madd Dogg's Mansion Pizza Stack Victim Heaven 6 (RC Heaven)(Why?): LSPD HQ Marital Arts Gym Millie's Bedroom Heaven 7 (Ammunation Heaven): 8-Track Stadium Ammu-Nation (2 Floors) Burglary House X4 Below the Belt Gym Heaven 8 (Burning Heaven): Burning Desire House Heaven 9 (Cluckin Heaven): None.. I Can Imagine Clucking Bell Should Be Here... Heaven 10 (Burgershot Heaven): 24/7 (V2) Abandoned AC Tower Burgershot Burglary House X14 Four Dragons, The SFPD HQ Heaven 11 (Misty Heaven): None.. Mistys Bar Maybe... Heaven 12 (Macisla Heaven): Budget Inn Motel Room Casino Macisla's Barbershop Unused LS Safehouse Heaven 13 (Normal World / Regular Heaven) None... Its Normal World Heaven 14 (Wardrobe Heaven): Didier Sachs Francis Int. (Front ext.) Francis Int. (Baggage Claim/Ticket Sales) Kickstart Stadium Wardrobe Heaven 15 (Binco Heaven): Binco Blood Bowl Stadium Burglary House X5 Burglary House X6 Burglary House X7 Burglary House X8 Heaven 16 (LS Tattoo Heaven): 24/7 (V4) LS Tattoo Parlour Heaven 17 (Rusty Heaven): 24/7 (V1) Club Rusty Brown's SF Hidden Tattoo Parlour Heaven 18 (Zip Heaven): 24/7 (V3) Atrium Lil Probe Inn (Not Documented) Warehouse Zip |
|
|
|
|
|
#9 |
|
Little Clucker
![]() Join Date: Apr 2005
Posts: 4
Reputation: 0
|
Ran a script through sound IDs 0-3333, and found the following sounds:
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 |
|
|
|
|
|
#10 |
|
Little Clucker
![]() Join Date: Apr 2006
Posts: 3
Reputation: 0
|
Here's the pickup ID's for health, armor, and adrenaline pill:
1240 health 1241 adrenaline pill 1242 armor enjoy. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 07:24 AM |
| [SOLVED!] Strings as reference parameters... | XPlatform | Plugin Development | 4 | 23/08/2009 10:40 PM |