AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   can anyone help?? (https://forums.alliedmods.net/showthread.php?t=215)

tnsk8er27 03-12-2004 20:52

can anyone help??
 
im looking to learn how to make amxx plugins and i need help on where i should start plz help me learn....THX =0p

[RED-Designs] 03-12-2004 20:59

You should study the syntax and frame work of the defualt plugins featured in AMX-x. Make modified versions of them and experience trial and error*. What does or doesnt work.
From there try building your own keeping in mind how the defualt plugins work and are built.

Also look on the old amxmod forums http://amxmod.net/forums for tutorials and more plugins to look at to get ideas from.

*: Back up the defualt versions or make a new file with the defualt source to do your modifing in.

tnsk8er27 03-13-2004 20:47

thanks for the advice!! but do you have any idea on which plugin i should begin looking at??(like an easier one or smthn)

DoubleTap 03-14-2004 00:21

RED, your too damned nice and rare in this community... Have you not learned that these guys want their hands held man... this guy is a classic example...

tnsk8er27 03-14-2004 00:31

naw i just want help and ideas until the scripting guide comes

MagicShot 03-14-2004 00:35

Re: can anyone help??
 
Quote:

Originally Posted by tnsk8er27
im looking to learn how to make amxx plugins and i need help on where i should start plz help me learn....THX =0p

Also, Watch for future releases of amxmodX...

A plugin & module tutorial are coming soon to an amxmodx near you...

QwertyAccess 03-14-2004 06:04

Re: can anyone help??
 
Quote:

Originally Posted by MagicShot
Quote:

Originally Posted by tnsk8er27
im looking to learn how to make amxx plugins and i need help on where i should start plz help me learn....THX =0p

Also, Watch for future releases of amxmodX...

A plugin & module tutorial are coming soon to an amxmodx near you...

Yea thats if BAIL doesnt suddenly disapear O_O like OLO :D :roll:

[RED-Designs] 03-14-2004 06:25

Quote:

Originally Posted by DoubleTap
RED, your too damned nice and rare in this community... Have you not learned that these guys want their hands held man... this guy is a classic example...

I am nice, its one of my few good features.

Quote:

Originally Posted by tnsk8er27
thanks for the advice!! but do you have any idea on which plugin i should begin looking at??(like an easier one or smthn)

How about you play around with this?:

Code:
#include <amxmodx> #include <amxmisc> public plugin_init(){   register_plugin("Danger will", "0.1", "[RED-Designs]")   register_concmd("say danger", "admin_danger","- Displays a message")   register_concmd("amx_danger","admin_danger",ADMIN_KICK,"- Displays a message" } public admin_danger(id, level, cid){   console_print(id, "[AMXX: Danger Will Robinson, danger!]^n[AMXX: Didnt expect that one did you?]")   set_hudmessage(200, 100, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)   show_hudmessage(0,"[AMXX: Danger Will Robinson, danger!]^n[AMXX: Didnt expect that one did you?]") }

tnsk8er27 03-14-2004 13:11

OK THANKS MAN!!!!!!!!! :D

tnsk8er27 03-14-2004 16:38

1 thing....
Code:
console_print(id, "[AMXX: Danger Will Robinson, danger!]^n[AMXX: Didnt expect that one did you?]")   set_hudmessage(200, 100, 0, -1.0, 0.3, 0, 1.0, 5.0, 0.1, 0.2, 5)   show_hudmessage(0,"[AMXX: Danger Will Robinson, danger!]^n[AMXX: Didnt expect that one did you?]")


what does the ^n mean in the messages???



thx!

xeroblood 03-14-2004 19:38

^n is an "escape sequence" used in strings to represent a new line..


"this text^nis on two lines"

would look like:

this text
is on two lines

tnsk8er27 03-14-2004 20:32

omg thanks that makes it alot clearer LOL im a noob!!

ThorW634 03-14-2004 21:33

gotta start somewhere.

tnsk8er27 03-14-2004 21:45

yeah i guess so .. but for some reason i think other ppl understand this stuff more than i do (even when they first started) :wink: :wink: :wink:

Freecode 03-14-2004 21:49

most of us had have some previous knowledge of some programming language (except me). So thats why we know more then you.

tnsk8er27 03-14-2004 22:14

yeah....i wish i had :cry:

MagicShot 03-14-2004 22:35

Hmm
 
Quote:

Originally Posted by tnsk8er27
yeah....i wish i had :cry:

Just keep reading.. write simple plugins.. keep chuggin alone and you'll be invincable!! :P

BigBaller 03-14-2004 23:25

YEP! They are right, just look at coding and ask lots of questions, I found out one of my clan members is really good in scripting SMALL soo I ask him lots of questions.

MagicShot 03-14-2004 23:43

umm
 
Quote:

Originally Posted by BigBaller
YEP! They are right, just look at coding and ask lots of questions, I found out one of my clan members is really good in scripting SMALL soo I ask him lots of questions.

For the most part the only stupid question is the one unasked... :lol:

QwertyAccess 03-15-2004 00:12

Quote:

Originally Posted by tnsk8er27
yeah....i wish i had :cry:

yea.. i wish i was better at math. I have math at a reallly early time and im like asleep during math class. GG math at 8:00am and i sleep at like 1:30am

[RED-Designs] 03-15-2004 01:35

Quote:

Originally Posted by tnsk8er27
yeah i guess so .. but for some reason i think other ppl understand this stuff more than i do (even when they first started) :wink: :wink: :wink:


I came from PHP and C/++ so I understand it pretty well. :D

MagicShot 03-15-2004 01:43

Quote:

Originally Posted by [RED-Designs
]
Quote:

Originally Posted by tnsk8er27
yeah i guess so .. but for some reason i think other ppl understand this stuff more than i do (even when they first started) :wink: :wink: :wink:


I came from PHP and C/++ so I understand it pretty well. :D

I am gonna Start school for programing this fall.. this ought to be fun and interesting...

[RED-Designs] 03-15-2004 01:44

Quote:

Originally Posted by MagicShot
Quote:

Originally Posted by [RED-Designs
]
Quote:

Originally Posted by tnsk8er27
yeah i guess so .. but for some reason i think other ppl understand this stuff more than i do (even when they first started) :wink: :wink: :wink:


I came from PHP and C/++ so I understand it pretty well. :D

I am gonna Start school for programing this fall.. this ought to be fun and interesting...

If you need any help I will sure be welcome to helping you. :twisted: <-- Yes, I'm twisted. Just filling you in :D

MagicShot 03-15-2004 01:48

Thanx
 
Thanx for the support Red

I really appreciate it... :twisted: hehe

[RED-Designs] 03-15-2004 01:53

Re: Thanx
 
Quote:

Originally Posted by MagicShot
Thanx for the support Red-Designs..

I really appreciate it... :twisted: hehe

Please, call me Red. RED-Designs is my company :D

MagicShot 03-15-2004 02:12

Re: Thanx
 
Quote:

Originally Posted by [RED-Designs
]
Quote:

Originally Posted by MagicShot
Thanx for the support Red-Designs..

I really appreciate it... :twisted: hehe

Please, call me Red. RED-Designs is my company :D

Cool.. Corry About that.. :D

tnsk8er27 03-15-2004 17:56

k thx guys if i have any quetions ill be sure to ask!!

Btw i changed a godmode plugin from amxmod into a godmode that works on amxmodx.... i know its not much (all i did was change #include <amxmod> to #include <amxmodx> and i added #include <fun>) but im still proud of myself!!!! now im gonna try to make a plugin

[RED-Designs] 03-15-2004 18:02

Quote:

Originally Posted by tnsk8er27
k thx guys if i have any quetions ill be sure to ask!!

Btw i changed a godmode plugin from amxmod into a godmode that works on amxmodx.... i know its not much (all i did was change #include <amxmod> to #include <amxmodx> and i added #include <fun>) but im still proud of myself!!!! now im gonna try to make a plugin

You're understanding the framework and syntax of Small. Converting a plugin isnt much but for you its something to shine apon. ^-^

tnsk8er27 03-15-2004 18:38

yea!! thanks :lol: :lol: :o

[RED-Designs] 03-15-2004 18:39

Quote:

Originally Posted by tnsk8er27
yea!! thanks :lol: :lol: :o

If you ever need a base plugin to do something or need help doing something in a plugin, just ask.

tnsk8er27 03-15-2004 18:50

ok..... do you have like a pistols only plugin i could look at?

[RED-Designs] 03-15-2004 18:58

Quote:

Originally Posted by tnsk8er27
ok..... do you have like a pistols only plugin i could look at?

That I sadly dont have, but if you look in the plugins section of amxmod.net there should be one.

tnsk8er27 03-15-2004 19:11

alright thanks :D

[RED-Designs] 03-15-2004 19:17

Quote:

Originally Posted by tnsk8er27
alright thanks :D

No problem, I'm glad I am of some help.

MagicShot 03-15-2004 23:15

I can whip one up
 
Quote:

Originally Posted by tnsk8er27
ok..... do you have like a pistols only plugin i could look at?

I can whip one up for you..

It will be stipped and basic but that will help you.. :lol:

knekter 03-18-2004 19:23

Easy way to learn
 
I personally learned just by reading other ppls plugins, then I found the tutorial in here, and read that, its all in good hands now :wink:


All times are GMT -4. The time now is 05:15.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.