SendConnectMessage(playerid); //connect message
SendDisconnectMessage(playerid, reason); //disconnect message
SetPlayerHealthAndArmour(playerid, Float:value); //sets the players health and armour
VClear(); //destroys all cars
Explode(playerid); //explodes a player
KillAll(); //kills all players
HealAll(); //heals all players
FunKill(playerid); //kills a player in a funny way
SetMapName(string[]); //sets the map name
CountPlayersOnline(); //counts all players online
IsPlayerInArea(playerid, Float:MinX, Float:MinY, Float:MaxX, Float:MaxY);
GetPlayerFps(playerid); //gets a player's fps
UpdateTime(playerid); //sets the players to the real world time
new fps;
fps = GetPlayerFps(playerid);
printf("player id %i is getting %i fps!", playerid, fps);
if(IsPlayerInArea(playerid, 0, 0, 5, 5))
{
Kick(playerid);
}
SetTimerEx("time", 1000, true, "i", playerid);
forward time(playerid);
public time(playerid)
{
UpdateTime(playerid);
}
yea... ik its VERY noobish... but... idk... its sorta ok. i use it. I guess other noobs could use it to learn how to make includes or something. thx.
|