Some minor corrections
Quote:
Originally Posted by PvtSmithFSSF
Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
|
cstrike and amxmisc isnt used in your script.
wouldnt hurt telling them that they give acces to other powerfull commands/nativs
Quote:
Originally Posted by PvtSmithFSSF
// These {'s and }'s are needed whenever you have code. They need to surround all the code.
|
You should explain that they are only needed when your doing more then one thing.
Quote:
Originally Posted by PvtSmithFSSF
// Register_clcmd is saying 'When a user types 'something' , then 'something' happens.
|
register_clcmd is when a user ho's runing cs types something in his console
register_concmd is when someone types something in server or clients console
register_srvcmd is when something is typed in the servers console
Quote:
Originally Posted by PvtSmithFSSF
// So whenever we have 'money' written in this section of the plugin,
// it will get a player's money.
new money = cs_get_user_money(id)
|
it stores the value in the integer not get it every time.
Quote:
Originally Posted by PvtSmithFSSF
// The reason we put it here and not with the others at the beginning of the plugin
// is because this line contains (id) in it, and that must be there.
// You cannot put (id) where the others are, unfortunately. So we put it here
// where we need it.
|
just tell them that they can only use the integer id in the function where it was created.
other stuff*
you should tell them that the thing you calld phrases are integers and explain what they do and what they store in this plugin.
you should explain that id is storing the first parameter in the function and it contains the players number ho triggerd it in your cases.
Exept those stuff it was nice keep it up
and sry about my spelling.
__________________