01.12.2014, 11:11
STInclude
Hello sampers. This include is my first and serves to facilitate the development. It's simple and useful.
Functions
PasteBin
or Attached to this article
Hello sampers. This include is my first and serves to facilitate the development. It's simple and useful.
Functions
- KickWithMessage(playerid, color, const message[]) - Show a message and kick the player;
- GetPlayerID(const name[]) - Get the ID of the player by name;
- BanWithMessage(playerid, color, const message[]) - Show a message and ban the player;
- SetPlayerMoney(playerid, money) - Set money;
- SendMessageToPromt(playerid, const message[]) - Send a message to prompt with nick of the player;
- SendPrivateMessage(playerid, rplayerid, color, const message[]) - Send a private message to other player;
- GivePlayerScore(playerid, score) - Give player score;
- pnome(playerid) - Geta o nome do player pelo ID;
- SendClientMessageToOtherPlayers(playerid, color, const message[]) - Send a message to all players connected, except the playerid;
- KillPlayer(playerid) - Kill player;
- IsBike(vehicleid) - Checks whether the vehicle is a motorcycle or bicycle;
- ClearChat() - Clear Chat;
- Shutdown(seconds) - Shutdown the server;
- Restart(seconds) - Restart the server;
- ClearLog() - Clear server_log.txt;
PasteBin
or Attached to this article