commit
ec2fff0b89
@ -51,7 +51,12 @@ hook OnScriptInit( )
|
||||
}
|
||||
|
||||
hook OnPlayerEnterDynamicCP( playerid, checkpointid ) {
|
||||
if ( IsPlayerJailed( playerid ) && !IsPlayerDetained( playerid ) ) {
|
||||
if ( IsPlayerJailed( playerid ) && checkpointid != ( g_Checkpoints[ CP_DROP_OFF_COP ] ||
|
||||
g_Checkpoints[ CP_DROP_OFF_FC ] || g_Checkpoints[ CP_DROP_OFF_DILLIMORE ] ||
|
||||
g_Checkpoints[ CP_DROP_OFF_DIABLO ] || g_Checkpoints[ CP_DROP_OFF_QUBRADOS ] ||
|
||||
g_Checkpoints[ CP_DROP_OFF_COP_LS ] || g_Checkpoints[ CP_DROP_OFF_FBI_LS ] ||
|
||||
g_Checkpoints[ CP_DROP_OFF_FBI_LV ] || g_Checkpoints[ CP_DROP_OFF_COP_LV ] ||
|
||||
g_Checkpoints[ CP_DROP_OFF_FBI ] || g_Checkpoints[ CP_DROP_OFF_HELI ] ) ) {
|
||||
return SendError( playerid, "You're jailed, and you accessed a checkpoint. I smell a cheater." ), KickPlayerTimed( playerid ), Y_HOOKS_BREAK_RETURN_1;
|
||||
}
|
||||
return 1;
|
||||
|
@ -135,7 +135,7 @@ hook OnScriptInit( )
|
||||
TextDrawColor(g_MotdTD, -1);
|
||||
TextDrawSetOutline(g_MotdTD, 1);
|
||||
TextDrawSetProportional(g_MotdTD, 1);
|
||||
TextDrawSetString( g_MotdTD, "~w~Want more ~g~money~w~, ~r~houses~w~, and ~b~xp~w~? Consider donating! ~y~/vip" );
|
||||
TextDrawSetString( g_MotdTD, "~w~Want more ~g~money~w~, ~r~houses~w~, and ~b~vehicles~w~? Consider donating! ~y~/vip" );
|
||||
|
||||
g_ObjectLoadTD = TextDrawCreate(320.000000, 148.000000, "Loading Objects...~n~Please Wait...");
|
||||
TextDrawAlignment(g_ObjectLoadTD, 2);
|
||||
|
Loading…
Reference in New Issue
Block a user