[Include] STInclude
#1

STInclude

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;
Download
PasteBin
or Attached to this article
Reply


Messages In This Thread
STInclude - by [XPG]MarlonCS - 01.12.2014, 11:11
Re: STInclude - by Airblog - 01.12.2014, 11:38
Re: STInclude - by Stinged - 01.12.2014, 12:55
Re: STInclude - by Hirsw0w - 01.12.2014, 12:56

Forum Jump:


Users browsing this thread: 1 Guest(s)