10.04.2013, 13:17
Quote:
|
This is cool but I hate the way you decided to use only 1 function. Trying to figure out what parameters should be used is hard as fuck.
You should really consider keeping the one function with the long string of parameters and also creating more which do the same thing and are easier to understand. Also, the Client function is not a native. You had me fooled for a moment into thinking this also contained a plugin. |
pawn Код:
Client(CLIENT_ACTION_KICK, playerid, NOTIFICATION_TYPE_MSG, "You are kicked from the server!", 0xFF0000, 0, 0, 0);
pawn Код:
Client(CLIENT_ACTION_KICK, playerid, NOTIFICATION_TYPE_DIALOG, 0, 0, "KICKED!", "You are kicked from the server!", "Close");
Then, if you want to for example kick all players, you would have to do this:
pawn Код:
Client(CLIENT_ACTION_KICK, 0, 0, 0, 0, 0, 0, 0);
So, if you do understand and learn how this function works, it should be easy to use it! (those upper-posted examples are somewhere near what you meant, right?)
About the name - I simply couldn't think of better one so I used "Client"! :P
Any constructive and positive criticism/comments are welcome!

Regards!


