26.05.2011, 23:05
(
Последний раз редактировалось sciman001; 30.05.2011 в 23:11.
)
Minc 3.0!
Hi all, I just finished putting this together. I want wou all to know that many of these functions were floating around the site, and I am just... putting them together... Anyway, but, I did make many of them. Anyway, heres the functions:
Usage:
Ask me if you need help on the others. They SHOULD be pretty self-explanitory. Heres a download link:
SOLIDFILES - DOWNLOAD THIS NOW!!!
Thanks for your time! Hope you like this!
p.s. Its the last day of skool!!!!!!!!!!!!!
[ame="http://www.youtube.com/watch?v=fLexgOxsZu0"]Watch this if its the last day of skool! [/ame]
Thanks everyone!
Hi all, I just finished putting this together. I want wou all to know that many of these functions were floating around the site, and I am just... putting them together... Anyway, but, I did make many of them. Anyway, heres the functions:
pawn Код:
UpdateTime()
ConvertMsToTime(ms)
Wait(time)
RandomWeather()
DestroyAllObjects()
CountPlayersOnline()
KillAll()
HealAll()
SendConnectMessage(playerid)
SendDisconnectMessage(playerid, reason)
TeleportPlayer(playerid, x, y, z, a)
IsPlayerInArea(playerid, minx, maxx, miny, maxy)
GetIp(playerid)
Admin(message)
GivePlayerVehicle(playerid, vehicleid)
GetDistanceBetweenPlayers(playerid, playerid2)
TeleportPlayerToPlayer(playerid1, playerid2)
IsVehicleABoat(carid)
GetVehicleName(modelid)
GetDistanceBetweenVehicles(vehicleid, vehicleid2)
rand()
GetPointDistanceToPoint(x1, y1, x2, y2)
GetPointDistanceToPointEx(x1, y1, z1, x2, y2, z2)
IsValidMapIcon(iconID)
StringToBool(string, mode)
pawn Код:
//StringToBool:
new bool:yn = StringToBool("True", 0);
new bool:yn = StringToBool("False", 0);
new bool:yn = StringToBool("Yes", 1);
new bool:yn = StringToBool("No", 1);
//rand:
new rnum = rand();
//Admin:
Admin("Hi too all admins! From ... Me!");
//IsVehicleABoat:
if(!IsVehicleABoat(411)) //carid == the vehicles MODEL id!
{
print("Not a boat!");
}
//GetVehicleName:
printf("%s", GetVehicleName(411)); //Vehicle MODEL id!!!
//CountPlayersOnline:
printf("%d players online!", CountPlayersOnline());
SOLIDFILES - DOWNLOAD THIS NOW!!!
Thanks for your time! Hope you like this!
p.s. Its the last day of skool!!!!!!!!!!!!!
[ame="http://www.youtube.com/watch?v=fLexgOxsZu0"]Watch this if its the last day of skool! [/ame]
Thanks everyone!