Reduce time to read rules after buying the car to 10 secs

This commit is contained in:
ChronosX88 2024-01-09 17:49:03 +03:00
parent 0768ca5a24
commit a4f0c307bd

View File

@ -365,7 +365,7 @@ hook OnDialogResponse( playerid, dialogid, response, listitem, inputtext[ ] )
if ( p_OwnedVehicles[ playerid ] < 3 ) {
ShowPlayerDialog( playerid, DIALOG_BOUGHT_VEH, DIALOG_STYLE_MSGBOX, "{FFFFFF}You've purchased a vehicle!", "{FFFFFF}Glad to see you've purchased a vehicle. Please ensure you read:\n\n* Vehicles are kept until you sell them or go two months inactive. This is not refundable.\n* Do not mispark your vehicle or it can be removed/impounded.\n* Check out /v for vehicle commands.\n* Find an acceptable place to park your new vehicle such as your house or a parking lot.", "Okay", "" );
SetPVarInt( playerid, "bought_veh_ts", g_iTime + 30 );
SetPVarInt( playerid, "bought_veh_ts", g_iTime + 10 );
}
}
case 1: