SA-MP Forums Archive
[FilterScript] [FS] ZET's Animation Viewer v0.01 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] ZET's Animation Viewer v0.01 (/showthread.php?tid=3670)

Pages: 1 2


[FS] ZET's Animation Viewer v0.01 - ZET - 15.06.2007

Purpose

Easily navigate through the large list of GTA's animations and view any of them in-game. Save names of desired animations to a text file in "pawn-format".

Setup

1. Download the package and unzip it.

2. Put the file "ZAnimationViewer.amx" into the directory "filterscripts" within your SA-MP Server installation.

3. Put the file "animslist.txt" into the directory "scriptfiles" within your SA-MP Server installation.

4. Edit the file "server.cfg". Add "ZAnimationViewer" (without quotes) to the list of filterscripts.

Download the source code if you wish. The code is dirty a little.

Usage

By default, the /av command activates\deactivates the in-game animation viewer. Use arrow keys to navigate through properties and change them. Other control keys are listed in the help message.

Note: only one player on the server will be able to use the Animation Viewer at the moment.

Copyright

You're allowed to do anything you want with the source code. If you find it useful, feedback here would be appreciated.


Re: [FS] ZET's Animation Viewer v0.01 - -Sneaky- - 15.06.2007

awsome man


Re: [FS] ZET's Animation Viewer v0.01 - !damo!spiderman - 15.06.2007

Nice work dude. Looks great. Also a great example of some of the new features eg. text draw and key detection


Re: [FS] ZET's Animation Viewer v0.01 - B.C - 15.06.2007

Nice if we had votes I voted 5/5


Re: [FS] ZET's Animation Viewer v0.01 - MaTrIx4057 - 15.06.2007

Thanks for good work!!!


Re: [FS] ZET's Animation Viewer v0.01 - HHq-mAtan - 15.06.2007

you work faster ^^
thanks its will help for much news..


Re: [FS] ZET's Animation Viewer v0.01 - {UVH}Bob - 15.06.2007

very helpfull

good work

5*


Re: [FS] ZET's Animation Viewer v0.01 - ZET - 15.06.2007

I'm glad that you like it


Re: [FS] ZET's Animation Viewer v0.01 - GtakriZ - 15.06.2007

Nice man!


Re: [FS] ZET's Animation Viewer v0.01 - yom - 15.06.2007

1 error and 3 warnings in the source

Not that i can't resolve them, but better to give something without any warnings.


Re: [FS] ZET's Animation Viewer v0.01 - GtakriZ - 15.06.2007

Quote:
Originally Posted by yom
1 error and 3 warnings in the source

Not that i can't resolve them, but better to give something without any warnings.
Um.. yes you are right..


Re: [FS] ZET's Animation Viewer v0.01 - ZET - 15.06.2007

Hmm... I had used the console command
Code:
pawncc ZAnimationViewer.pwn -S=4194304 -v=2 -w203- -w226- -i=include -o=ZAnimationViewer.amx
to compile the filterscript, and it showed no errors and warnings. However, pawno.exe gives one error and 3 warnings, indeed.

The nature of the error is quite simple, it's just a missed semicolon. A added it and reuploaded the source. And, I don't care about these warnings. Fix them by yourself if you wish.


Re: [FS] ZET's Animation Viewer v0.01 - Jamould - 15.06.2007

Would I be allowed use this to make it so when a cop uses a colt 45 they use it like a cop.


Re: [FS] ZET's Animation Viewer v0.01 - oostcoast - 16.06.2007

Quote:
Originally Posted by ZET
You're allowed to do anything you want with the source code. If you find it useful, feedback here would be appreciated.
so yea, but I dont think this script can do that, u need to make a other one that sets the cops animation..




Re: [FS] ZET's Animation Viewer v0.01 - Jamould - 16.06.2007

Thanks


Re: [FS] ZET's Animation Viewer v0.01 - n0ah - 16.06.2007

Nice! 10/5


Re: [FS] ZET's Animation Viewer v0.01 - Pho3niXx - 21.03.2008

thanks for this FS (wow i'm so late :P)

to avoid these 3 warnings, you have to use a temporary variable:

Code:
	case 4: {
		tmpAVLock = !gAVLock[0];
		gAVLock[0] = tmpAVLock;
	}
	case 5: {
		tmpAVLock = !gAVLock[1];
		gAVLock[1] = tmpAVLock;
	}
	case 6: {
		tmpAVLock = !gAVLock[2];
		gAVLock[2] = tmpAVLock;
	}
but it doesn't matter as it's only warnings ^^



Re: [FS] ZET's Animation Viewer v0.01 - kazimieras - 02.02.2009

Links are down. Please update.


Re: [FS] ZET's Animation Viewer v0.01 - Synkro93 - 02.02.2009

ZET, please check the download link.


Re: [FS] ZET's Animation Viewer v0.01 - extra - 03.02.2009

Good Work