<?php
$Health = strFormat("{0:0}",GetCurrentPlayerVar( "Health" ) );
PrivMsg("".$Health."");
?>
<?php
openPrivButton( "Health",51,6,$Health,3,3,-1,16,"");
Or
openPrivButton( "Health",51,6,strFormat("{0:0}",GetCurrentPlayerVar( "Health" ) ),3,3,-1,16,"");
?>
<?php
// Pit EXIT
if (((MCI.Info[i].X / 196608) <= -203) && ((MCI.Info[i].Y / 196608) >= -65) && ((MCI.Info[i].Y / 196608) <= -45) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone == 0))
{
if (((MCI.Info[i].Direction / 180) < 80) || ((MCI.Info[i].Direction / 180) > 280))
{
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone = 1;
InSim.Send_MST_Message("/spec " + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Username);
}
}
if (((MCI.Info[i].Y / 196608) < -65) || ((MCI.Info[i].Y / 196608) > -45))
{
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone = 0;
}
// Pit ENTRY
if (((MCI.Info[i].X / 196608) <= -203) && ((MCI.Info[i].Y / 196608) >= -158) && ((MCI.Info[i].Y / 196608) <= -145) && (Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 == 0))
{
if (((MCI.Info[i].Direction / 180) < 80) || ((MCI.Info[i].Direction / 180) > 280))
{
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 = 1;
InSim.Send_MST_Message("/spec " + Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].Username);
}
}
if (((MCI.Info[i].Y / 196608) < -158) || ((MCI.Info[i].Y / 196608) > -145))
{
Connections[GetConnIdx(Players[GetPlyIdx(MCI.Info[i].PLID)].UniqueID)].IsInPitZone2 = 0;
}
?>
<?php
SetCurrentPlayerVar( "key", round( ToNum( RandomNum( 100000,999999 ) ),0 ) );
?>
<?php
SetCurrentPlayerVar( "sorts", round( ToNum( RandomSorts( AAA,ZZZ ) ),0 ) );
?>
<?php
PrivDelayedCommand( "delcom1",2592000, InsuranceClose);
...
...
RemovePrivDelayedCommand("delcom1");
?>
<?php
openPrivButton( "InsuranceExtended",1,102,27,4,4,-1,16,"^7Insurance Extended",InsuranceExtended);
Sub InsuranceExtended( $userName )
ClosePrivDelayedCommand( 2592000, InsuranceClose);
EndSub
?>
<?php
closePrivButton( "Button1&Button2&Button3&Button4");
?>
<?php
closePrivDelayedCommand( "ClosePrivDelayedCommand( 2592000, InsuranceClose)&ClosePrivDelayedCommand( 300,test)");
?>
<?php
CASE "!myconfig":
myConfig( );
BREAK;
?>