Originally Posted by [AC
Etch ]
the whole script!? |
// Top
new Text:SiteName;
// OnGameModeInIt
SiteName = TextDrawCreate(4.000000,435.000000,"web url goes here");
TextDrawFont(SiteName,3);
TextDrawLetterSize(SiteName,0.300,1);
TextDrawColor(SiteName, 0xFFFFFFAA); //
TextDrawColor(SiteName, 0xC00000AA);
TextDrawSetOutline(SiteName,1);
TextDrawBackgroundColor(SiteName,0x000000AA);
TextDrawUseBox(SiteName,0);
TextDrawAlignment(SiteName, 1);
// OnPlayerConnect
TextDrawShowForPlayer(playerid, Text:SiteName);
// OnPlayerDisonnect:
TextDrawHideForPlayer(playerid, Text:SiteName);
// OnGameModeExit
TextDrawHideForAll(SiteName);
// Top:
new area51gate;
forward area51gateTimer(playerid);
// OnGameModeInIt:
area51gate = CreateObject(971, 96.705085754395, 1920.8884277344, 20.743732452393, 0.000000, 0.000000, 270.42498779297);
SetTimer("area51gateTimer", 1000, 1);
// // Public:
public area51gateTimer(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 10, 96.705085754395, 1920.8884277344, 20.743732452393))
{
MoveObject(area51gate, 96.695297241211, 1929.7633056641, 20.743732452393, 1.50000);
}else{
MoveObject(area51gate, 96.705085754395, 1920.8884277344, 20.743732452393, 1.50000);
}
}
Originally Posted by [AC
Etch ]
1st of all sometimes the auto gates work and sometimes it doesnt 2nd sometimes textdraws show and sometimes they doesnt so anyone has an explanation for this? |