18.10.2014, 07:09
Quote:
But isn't health supposed to be a float value?
Like pawn Код:
|
Quote:
Secondly, how am I meant to make it where you type /givegun [playerid] [gunid] [ammo]? |
instead of breaking your head on how to do so, you can use a command proccessor such as zcmd or ycmd.
and to slice(aka explode) the string into pieces, organizing each data which will pass into the specificied structure which you input in the command, use sscanf which can be found in the plugins board.
Quote:
Third thing lol, how do I make commands only acceptable by admins? |
Quote:
Fourth, but final thing, how do I make a /setskin command? (only usable for admin level 2 +). |