AlliedModders

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

clubz 02-15-2005 19:32

Scripting Help.
 
Ok, im gettin into scripiting my own plugins and I recently thought I would like to make a /rules or /help. I know there are many of them out there but I wanted to make my own. Anybody know of any tutorials? Also, how do you know what #includes to add?

Thanks,

---No suit beats it---
------cLuBz------

Peli 02-15-2005 19:40

To answer your first question about tutorials...
1. Yes there are tutorials , but they are basics and general AMX Mod X scripting , they won't teach you how to make advanced plugins or specific things.
To answer your second question about includes...
1. For whatever kind of natives you use , you have to use that include at the top , for example , set_user_godmode() is the native to give godmode. It is from the Fun.inc include file in your Scripting Folder. So at the top of a script you would add :
Code:
#include <fun>
Get the idea? But for general stuff , ALWAYS add :
Code:
#include <amxmodx>

clubz 02-16-2005 19:12

Oh ok. Thanks!


All times are GMT -4. The time now is 19:24.

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