This should tell you how to make a basic command:
http://wiki.amxmodx.org/index.php/In...od_X_Scripting
To save a variable for each user on your server, the most common things to do is to create an array with 33 indexes and save to/read from it by passing the player id as the index.
Example:
Code:
new myVariable[33]; // this is how to create the array
public set_something(id)
{
myVariable[id] = 1; // this is how to set the value
}
public check_something(id)
{
client_print(id,print_chat,"Your variable is: %i",myVariable[id]); // this is how to read the value
}
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS