A way for you to get all commands in the script (If your script is too huge) -
RajatPawar - 19.01.2013
I just tried this and it kinda works (assuming you use a command include like zcmd, ycmd or something like that)
If this is common knowledge, forgive me, merely wanted to share. If this is pointless for you, don't post, please.
If your script is too huge for you to remember and say you need to post all commands, open your .amx using notepad or any text editor. You will mostly see wierd symbols like these:
-------------------------------
Ѓя )'Ђ{,Ѓ )'Ђ{,$Ѓя )'Ђ{,Ѓ )'1Ђh,Ђ`0.Ѓ 0.Ѓ 0.Ѓ ,|))'1Ѓ|Ѓ )'Ђ{ ,Ѓ |,0.Ѓ 0.Ѓ 0.Ѓ 0#Ђf$9Ђh+ЂQ5“tЃ ,|)'Ђ{
,|Ѓ |ЂZ#Ђf$#ЂfЃЂQ+6“<|Ђf$.#ЂfЃЂQ+6“<ЂY3“D5“dЃ |,0,3ІhЃ '‡яяя' '…l)'Ђ{,
---------------------------------
Ignore them, and search for a function within SA-MP you used like.. anything, GetPlayerHealth, SetPlayerPos or something.
You'll see something like:
------------------------------------

----------------------------------
There are your commands!
Cheers!
Re: A way for you to get all commands in the script (If your script is too huge) -
Mr.Anonymous - 19.01.2013
Genius! Now waiting for my script to get huge.
Re: A way for you to get all commands in the script (If your script is too huge) -
Mauzen - 19.01.2013
Nice idea to read the amx. But wouldnt it be easier to use any text editor, open the .pwn and search for "CMD:" if youre using zcmd anyways?
Re: A way for you to get all commands in the script (If your script is too huge) -
Private200 - 19.01.2013
1 Question i have . WTF is this ?
Re: A way for you to get all commands in the script (If your script is too huge) -
Mr.Anonymous - 19.01.2013
Quote:
Originally Posted by Mauzen
Nice idea to read the amx. But wouldnt it be easier to use any text editor, open the .pwn and search for "CMD:" if youre using zcmd anyways?
|
The thing I like about this is, that all commands are arranged in one line. Searching and arranging them is waste of time. (at least for me)
Re: A way for you to get all commands in the script (If your script is too huge) -
MP2 - 19.01.2013
There's a script for this.
Somewhere..
Re: A way for you to get all commands in the script (If your script is too huge) -
RajatPawar - 19.01.2013
Just something I found out, was helpful for a friend who had a 30k+ script with a lot of cmds! Hence this.
Re: A way for you to get all commands in the script (If your script is too huge) -
Djole1337 - 19.01.2013
Quote:
Originally Posted by MP2
There's a script for this.
Somewhere..
|
Yeah, long time ago i saw it on pastebin, (I think ****** made it, im not sure tbh).
Re: A way for you to get all commands in the script (If your script is too huge) -
MyNinja - 19.01.2013
Wait, so what's the point of just looking at the functions?
Re: A way for you to get all commands in the script (If your script is too huge) -
Sasino97 - 19.01.2013
Quote:
Originally Posted by MyNinja
Wait, so what's the point of just looking at the functions?
|
LoL I was thinking this too