A way for you to get all commands in the script (If your script is too huge)
#1

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!
Reply
#2

Genius! Now waiting for my script to get huge.
Reply
#3

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?
Reply
#4

1 Question i have . WTF is this ?
Reply
#5

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)
Reply
#6

There's a script for this.

Somewhere..
Reply
#7

Just something I found out, was helpful for a friend who had a 30k+ script with a lot of cmds! Hence this.
Reply
#8

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).
Reply
#9

Wait, so what's the point of just looking at the functions?
Reply
#10

Quote:
Originally Posted by MyNinja
Посмотреть сообщение
Wait, so what's the point of just looking at the functions?
LoL I was thinking this too
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)