SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 09/10/2011, 12:22 PM   #271
Austin
Huge Clucker
 
Join Date: Jul 2006
Location: Stafford, England
Posts: 271
Reputation: 206
Default Re: General Reference

Quote:
Originally Posted by Y_Less View Post
That's a good point, who were those involved?
It was done on the Novocaine development server, and the list of people who helped was...

[NoV]Austin
[NoV]LaZ
[NoV]Varrak
[NoV]Vyrdrim
[NoV]NustaZ
[NoV]JahanG
2stubborn2die

Although I would say at least 90% was done by myself and LaZ.

Only have one screenshot showing us working on the sounds...

... and I believe this was taken before I found the matching lists.

I parsed this information in PHP along with AudioEvents.txt to do 5000 of the descriptions.
http://public.sannybuilder.com/GXT/GTASA.text

Then I found Tomo's array, which fixed most inaccuracies.
http://pastebin.com/4k35ypFB

Then we used the GTA:SA SFX Directory, plus a command called /run <ID> to go one by one through the sounds quickly identifying the actor (you'd type a character name, and hit enter and the next sound id would appear ready to go), it would stop once it got to the end of a mission.
http://pdescobar.home.comcast.net/~p...ir.html#SCRIPT
Austin is offline   Reply With Quote
Old 29/11/2011, 05:11 AM   #272
Vinnyy
Big Clucker
 
Join Date: Oct 2011
Posts: 57
Reputation: 48
Default Re: General Reference

http://imageshack.us/g/827/samp010pq.png/

What you think about this?
Vinnyy is offline   Reply With Quote
Old 15/12/2011, 06:58 PM   #273
KoczkaHUN
Gangsta
 
KoczkaHUN's Avatar
 
Join Date: Jan 2010
Posts: 541
Reputation: 98
Default Re: General Reference

1 GTA unit = 1 meter in real.
__________________
uıɐƃɐ oɔsǝʇ uı pɹɐoqʎǝʞ ʎnq ʇou llıʍ ı
-
Quote:
Originally Posted by WackoX
If i steal a television at a store, am i still legal if i put a sign on it saying "COPYRIGHT © ELECTRONIC STORE"?
Quote:
[20:46:02] <balintx> What is the output of this PAWN code? printf("%d", random(100));
[20:46:11] <JaTochNietDan> WHO THE FUCK KNOWS
-
KoczkaHUN is offline   Reply With Quote
Old 20/12/2011, 07:07 PM   #274
Amit_B
Gangsta
 
Amit_B's Avatar
 
Join Date: Nov 2007
Location: Israel
Posts: 680
Reputation: 53
Default Re: General Reference

Array of every pickup on the single player game, from Betamaster's post,
includes the positions only without the rest of the info:
http://pastebin.com/Rr9A4wcX
__________________
- Leading the Israeli SA-MP Community, SA-MP.co.il - SAMP-IL
- Currently working on the first anime project on SA-MP, Naruto Shippuden gamemode: Screenshots #1, Screenshots #2
Amit_B is offline   Reply With Quote
Old 20/01/2012, 10:44 AM   #275
Rac3r
Gangsta
 
Join Date: May 2007
Posts: 700
Reputation: 32
Default Re: General Reference

Spectate Player
Code:
//The view is aimed directly at the player
PlayerSpectatePlayer(playerid, targetplayerid, SPECTATE_MODE_NORMAL);
//The view has to be set using SetPlayerCameraPos
PlayerSpectatePlayer(playerid, targetplayerid, SPECTATE_MODE_FIXED);
Spectate Vehicle
Code:
//The view is aimed directly at the vehicle
PlayerSpectateVehicle(playerid, targetvehicleid, SPECTATE_MODE_NORMAL);
//The view is aimed at the front of the vehicle from the side
PlayerSpectateVehicle(playerid, targetvehicleid, SPECTATE_MODE_SIDE);
//The view has to be set using SetPlayerCameraPos
PlayerSpectateVehicle(playerid, targetvehilceid, SPECTATE_MODE_FIXED); 
//The view is positioned by the players head, looking through the front of the vehicle
PlayerSpectatePlayer(playerid, targetplayerid, SPECTATE_MODE_NORMAL);
Spectate Notes
SPECTATE_MODE_FIXED has a maximum view range of 200.0
If the player isn't viewable, the view will be defaulted to 0.0 0.0 0.0

Last edited by Rac3r; 05/02/2012 at 07:46 PM. Reason: Update
Rac3r is offline   Reply With Quote
Old 25/02/2012, 07:06 PM   #276
HuSs3n
Gangsta
 
HuSs3n's Avatar
 
Join Date: Jul 2011
Posts: 689
Reputation: 133
Default Re: General Reference

Quote:
Originally Posted by Simon View Post
Horseshoes
pawn Code:
// Horseshoes - modelid: 954
new Float:Horseshoes[50][3] = {
    //X   Y     Z
    {1224.0, 2617.0, 11.0},
    {2323.0, 1284.0, 97.0},
    {2035.0, 2305.0, 18.0},
    {2491.0, 2263.0, 15.0},
    {1433.0, 2796.0, 20.0},
    {2071.0, 712.0, 11.0},
    {2239.0, 1839.0, 18.0},
    {2583.0, 2387.0, 16.0},
    {2864.0, 857.0, 13.0},
    {2612.0, 2200.0, -1.0},
    {2274.0, 1507.0, 24.0},
    {2184.0, 2529.0, 11.0},
    {1863.0, 2314.0, 15.0},
    {2054.0, 2434.0, 166.0},
    {1603.0, 1435.0, 11.0},
    {1362.92, 1015.24, 11.0},
    {2058.7, 2159.1001, 16.0},
    {2003.0, 1672.0, 12.0},
    {2238.0, 1135.0, 49.0},
    {1934.0601, 988.79, 22.0},
    {1768.0, 2847.0, 9.0},
    {1084.0, 1076.0, 11.0},
    {2879.0, 2522.0, 11.0},
    {2371.0, 2009.0, 15.0},
    {1521.0, 1690.0, 10.6},
    {2417.0, 1281.0, 21.0},
    {1376.0, 2304.0, 15.0},
    {1393.0, 1832.0, 12.34},
    {984.0, 2563.0, 12.0},
    {1767.0, 601.0, 13.0},
    {2108.0, 1003.0, 46.0},
    {2705.98, 1862.52, 24.41},
    {2493.0, 922.0, 16.0},
    {1881.0, 2846.0, 11.0},
    {2020.0, 2352.0, 11.0},
    {1680.3, 2226.8601, 16.11},
    {1462.0, 936.0, 10.0},
    {2125.5, 789.23, 11.45},
    {2588.0, 1902.0, 15.0},
    {919.0, 2070.0, 11.0},
    {2173.0, 2465.0, 11.0},
    {2031.25, 2207.3301, 11.0},
    {2509.0, 1144.0, 19.0},
    {2215.0, 1968.0, 11.0},
    {2626.0, 2841.0, 11.0},
    {2440.0801, 2161.0701, 20.0},
    {1582.0, 2401.0, 19.0},
    {2077.0, 1912.0, 14.0},
    {970.0, 1787.0, 11.0}
};
these are 49
one is missing {1526.22, 751.0, 29.04}
HuSs3n is offline   Reply With Quote
Old 02/03/2012, 02:44 AM   #277
Whitetiger
Huge Clucker
 
Whitetiger's Avatar
 
Join Date: Nov 2007
Location: Cary, NC, USA
Posts: 413
Reputation: 76
Default Re: General Reference

found a PAWN native that doesn't seem to be documented anywhere. seems to work once defined. (only tested on windows)

pawn Code:
native Float:GetGravity();

public OnFilterScriptInit() {
    printf("%f", GetGravity());
}
__________________
AutoArena EU
GitHub

Whitetiger is online now   Reply With Quote
Old 05/04/2012, 08:29 AM   #278
Blantas
Huge Clucker
 
Blantas's Avatar
 
Join Date: Feb 2009
Posts: 340
Reputation: 8
Default Re: General Reference

Some information about vehicles models (GetVehicleModelInfo): http://pastebin.com/raw.php?i=Squ0qHyA
Blantas is offline   Reply With Quote
Old 06/04/2012, 02:07 AM   #279
Meta
Gangsta
 
Meta's Avatar
 
Join Date: Feb 2010
Location: Germany
Posts: 646
Reputation: 44
Default AW: Re: General Reference

Quote:
Originally Posted by whitetigerswt View Post
found a PAWN native that doesn't seem to be documented anywhere. seems to work once defined. (only tested on windows)

pawn Code:
native Float:GetGravity();

public OnFilterScriptInit() {
    printf("%f", GetGravity());
}
Also working on Linux.
Meta is offline   Reply With Quote
Old 29/04/2012, 04:15 PM   #280
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 3,919
Reputation: 1830
Default Re: General Reference

List of all cars that can do a burnout:
pawn Code:
new burnoutcars[130] =
{400,
402,
403,
405,
406,
407,
408,
409,
411,
412,
413,
414,
415,
416,
418,
419,
421,
422,
423,
424,
426,
427,
428,
429,
431,
432,
433,
434,
437,
438,
439,
442,
443,
444,
451,
455,
456,
457,
458,
459,
466,
467,
470,
471,
474,
475,
477,
478,
480,
482,
483,
485,
486,
489,
490,
491,
492,
494,
495,
498,
499,
502,
503,
504,
505,
506,
507,
508,
514,
515,
517,
518,
524,
525,
526,
500,
527,
528,
529,
531,
532,
533,
534,
535,
536,
541,
542,
543,
544,
545,
546,
547,
549,
551,
552,
554,
555,
556,
557,
558,
560,
561,
562,
566,
567,
568,
571,
572,
573,
574,
575,
576,
578,
579,
580,
582,
583,
585,
587,
588,
596,
597,
598,
599,
601,
602,
603,
604,
605,
609
};
__________________
hiddos ♥ duck 07/08/2013
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos 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 02:49 AM.


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