Are you gonna put in jobs and tow commands...... if not can you tell me how i can do it
include( "./utils.lpr");
include( "./myInc.lpr");
#### Include for splitting infos ####
#include( "./pitboard.lpr");
include( "./pitwindow_gui.lpr");
# OR
#include( "./defPitInfo.lpr");
#####################################
#### Include for drifting infos ####
include( "./driftdef.lpr");
# OR
include( "./driftmeter.lpr");
#####################################
include ("./debug.lpr");
# GUI Framework main include - this MUST be first
include ("./gui.lpr");
# Help GUI
include ("./gui_help.lpr"); # Multi-tabbed help (all in one)
# Admin GUI
include ("./gui_admin.lpr"); # Admin GUI root include
include ("./gui_admin_membership.lpr"); # Admin GUI Membership administration
include ("./gui_admin_handicaps.lpr"); # Admin GUI Handicap allocations
include( "./safetycar.lpr");
include( "./ctrack.lpr");
include( "./guiconfig.lpr");
include( "./who.lpr");
include( "./tops.lpr");
include( "./listevent.lpr");
#include( "./winnerflags.lpr");
<?php
CASE "!bust":
IF ( $Mode == "Cruise" )
THEN
IF ( UserIsAdmin( $userName ) == 1 )
THEN
globalMsg ("^1Police: ^3You have been busted");
ELSE
privMsg( langEngine( "%{main_notadmin}%" ) );
ENDIF
ENDIF
BREAK;
?>
$distToDo = 100;
CatchEvent OnDistDone( $userName ) # Player event
IF ( $Mode == "Cruise" )
THEN
SetCurrentPlayerVar( "Cash", ToNum( GetCurrentPlayerVar( "Cash" ) + ToNum( 0.05 * GetConfigVar( "distToDo" ) ) ) );
IF ( ToNum( GetCurrentPlayerVar( "Bank" ) ) < 250000 )
THEN
SetCurrentPlayerVar( "Bank", ToNum( GetCurrentPlayerVar( "Bank" ) + ToNum( GetCurrentPlayerVar( "Bank" ) * ToNum( 0.000001 * GetConfigVar( "distToDo" ) ) ) ) );
ENDIF
SetCurrentPlayerVar( "Health", ToNum( GetCurrentPlayerVar( "Health" ) - ToNum( 0.000008 * GetConfigVar( "distToDo" ) ) ) );
SetCurrentPlayerVar( "KM", ToNum( GetCurrentPlayerVar( "KM" ) + GetConfigVar( "distToDo" ) ) );
SetCurrentPlayerVar("BonusMeter", ToNum( GetCurrentPlayerVar("BonusMeter") + GetConfigVar( "distToDo" ) ) );
Cruise_HUD( $userName );
IF ( GetCurrentPlayerVar("Health") < "0.01" )
THEN
IF( $Cruise_HH != "Yes" ) THEN
globalMsg( langEngine( "%{cruise_fine_db}%", $userName,FormatCash($Fine["Docter"]) ) );
SetCurrentPlayerVar( "Cash", ToNum( GetCurrentPlayerVar( "Cash" ) - $Fine["Docter"] ) );
SetCurrentPlayerVar( "Health", "1" );
ENDIF
ENDIF
IF ( GetCurrentPlayerVar("TotDistMeter") >= ToNum( $Refund["dist"] * GetCurrentPlayerVar("Refund") ) )
THEN
SetCurrentPlayerVar("Refund", ToNum( GetCurrentPlayerVar("Refund") + 1 ) );
SetCurrentPlayerVar("BonusMeter", "0" );
globalMsg( strFormat( "^7{0} Recived {1:C} ^1Reason: ^7Distance bonus",$userName,$Refund["amount"] ) ) );
SetCurrentPlayerVar( "Cash", ToNum( GetCurrentPlayerVar( "Cash" ) + $Refund["amount"] ) );
ENDIF
IF ( GetCurrentPlayerVar( "Chase" ) == "1" ) THEN $argv = GetCurrentPlayerVar( "Chase" );
IF ( GetCurrentPlayerVar( "Chase_S" ) != "0" ) THEN
$Chase[$argv] = "^1-^4-^1-^4-^1-^4-^1-%nl%" . "Suspect: " . GetCurrentPlayerVar( "Chase" ) . "%nl%Cop: " . GetPlayerVar( GetCurrentPlayerVar( "Chase" ), "Chase" ) . "%nl%Distance: ".DistFromUser($userName,$argv)." Meters%nl%^4-^1-^4-^1-^4-^1-^4-" . "%at%" . "^4-^1-^4-^1-^4-^1-^4-%nl%" . "Suspect: " . GetCurrentPlayerVar( "Chase" ) . "%nl%Cop: " . GetPlayerVar( GetCurrentPlayerVar( "Chase" ), "Chase" ) . "%nl%Distance: ".DistFromUser($userName,$argv)." Meters%nl%^1-^4-^1-^4-^1-^4-^1-";
openPrivButton( "CopSys",160,15,35,5,5,-1,32, $Chase[$argv] );
ENDIF ENDIF
IF ( GetCurrentPlayerVar( "Chase_S" ) == "1" )
THEN
$argv = GetCurrentPlayerVar( "Chase" );
IF ( ToNum(DistFromUser($userName,$argv)) < ToNum("126") )
THEN
$Chase[$argv] = "^1-^4-^1-^4-^1-^4-^1-%nl%" . "Suspect: " . GetCurrentPlayerVar( "Chase" ) . "%nl%Cop: " . GetPlayerVar( GetCurrentPlayerVar( "Chase" ), "Chase" ) . "%nl%Distance: ".DistFromUser($userName,$argv)." Meters%nl%^4-^1-^4-^1-^4-^1-^4-" . "%at%" . "^4-^1-^4-^1-^4-^1-^4-%nl%" . "Suspect: " . GetCurrentPlayerVar( "Chase" ) . "%nl%Cop: " . GetPlayerVar( GetCurrentPlayerVar( "Chase" ), "Chase" ) . "%nl%Distance: ".DistFromUser($userName,$argv)." Meters%nl%^1-^4-^1-^4-^1-^4-^1-";
openButton( $argv, "CopSys",160,15,35,5,5,-1,32, $Chase[$argv] );
openPrivButton( "CopSys",160,15,35,5,5,-1,32, $Chase[$argv] );
IF ( ToNum(DistFromUser($userName,$argv)) < ToNum("6") )
THEN
globalMsg( langEngine( "%{cruise_chase_ca}%",$userName,$argv ) );
CloseButton( $argv, "CopSys" ); ClosePrivButton( "CopSys" );
SetPlayerVar( $argv, "Chase_S", "0" ); SetCurrentPlayerVar( "Chase_S", "0" );
SetPlayerVar( $argv, "Chase", "" ); SetCurrentPlayerVar( "Chase", "" );
SetPlayerVar( $argv, "Chase_Last", $userName );
IF ( GetPlayerVar( $argv,"Bank_Rob" ) != "" )
THEN
SetPlayerVar( $argv,"Bank_Rob", "" );
ENDIF
ENDIF
ELSE
globalMsg( langEngine( "%{cruise_chase_lc}%",$userName,$argv ) );
CloseButton( $argv, "CopSys" ); ClosePrivButton( "CopSys" );
SetPlayerVar( $argv, "Chase_S", "0" ); SetCurrentPlayerVar( "Chase_S", "0" );
SetPlayerVar( $argv, "Chase", "" ); SetCurrentPlayerVar( "Chase", "" );
ENDIF
ENDIF
UserGroupFromFile( "Police", $Dir["Police"] );
IF ( ToNum( GetCurrentPlayerVar( "KM" ) ) >= 1000000 )
THEN
IF ( UserInGroup( "Police",$userName ) != 1 )
THEN
MoveUserToGroup( "Police",$userName );
UserGroupToFile( "Police", $Dir["Police"] );
GlobalMsg( langEngine( "%{cruise_cop_new}%",$userName ) );
ENDIF
ENDIF
ENDIF
EndCatchEvent
<?php
Event OnNameChange($userName,$oldNickName,$newNickName) # Player event
cmdLFS("/kick " . GetCurrentPlayerVar("UserName") );
EndEvent
?>
<?php
RegisterScheduleAction( "0 0 1 * * * *", RSA_hi );
RegisterScheduleAction( "0 1 1 * * * *", RSA_hello );
Sub RSA_hi()
globalRcm( "Hi" );
EndSub
Sub RSA_hello()
globalRcm( "Hello" );
EndSub
?>