fixes vipjob command to not allow non-job names to be inputted, updates updates.txt with recent commits

This commit is contained in:
Damen 2019-01-25 03:15:38 -05:00
parent f14e571fb8
commit 21455d399f
2 changed files with 17 additions and 14 deletions

View File

@ -2336,7 +2336,7 @@ CMD:vipjob( playerid, params[ ] )
if ( isnull( params ) ) if ( isnull( params ) )
return SendUsage( playerid, "/vipjob [PART OF JOB NAME]" ); return SendUsage( playerid, "/vipjob [PART OF JOB NAME]" );
if ( ( iJob = GetJobIDFromName( params ) ) == 0xFE ) if ( ( iJob = GetJobIDFromName( params ) ) == 0xFE || iJob < 0 || iJob > 7 )
return SendError( playerid, "You have entered an invalid job." ); return SendError( playerid, "You have entered an invalid job." );
if ( iJob != p_Job{ playerid } ) { if ( iJob != p_Job{ playerid } ) {

View File

@ -1,13 +1,16 @@
(+) A percentage is showed in the top donor bar, which is the required total funding of the server for the month. (/) Weed is no longer taxed when bought or sold. (Kova)
(+) Server features are shown to newly registered players. (*) Quit to Avoid and AFK Wanted will now award the nearest LEO (75m On Foot, 150m In Vehicle). (Damen)
(/) Breaking Cuffs is now at a 75% chance success rate. (*) Passive Mode Players are no longer able to enter Business Vehicles. (Damen)
(/) Jail Multiplier is now lowered from 3 to 2. (*) Passive Mode Players will now become wanted through association when interacting with wanted players. (Damen)
(/) /sm is no longer capped at a 90M transaction. (*) Law Enforcement Officers are no longer able to purchase or obtain chainsaws. (Damen)
(/) /ic send limit has been increased from 5,000 to 10,000. (*) When inside a player-owned Journey vehicle interior and the owner disconnects, you will be removed from the interior. (Damen)
(/) Player money is saved on an inflow/outflow basis. Before, it saved only when you disconnected. (*) Info pickup text typo fixed. (Damen)
(/) You need 50 score to send private messages in the server. (*) /vipjob should no longer allow you to put in an incorrect job name and still take your money. (Damen)
(*) Bank Money changes now trigger it to be saved. Fixing IC & Stock selling issue. (*) You can no longer use player-owned vehicle or dirty mechanic commands to allow your vehicle to drive underwater. (Damen)
(*) Fireworks purchasing is now functional and grants you the item upon purchase. (*) You can no longer relog to reset the Dirty Mechanic export timer restriction. (Damen)
(*) Fixed issue with cop chat behaving abnormally. (*) Removes the ability to send IC to administrators who are spectating you. (Damen)
(*) You cannot use /sync in jail. (*) Removes the ability to farm IC by using animations. (Damen)
(-) Knives have been removed due to abuse. (*) You can no longer use animations while wearing a parachute to avoid fake deaths. (Damen)
(*) /spawn should now display beyond 60 homes. (Stev)
(*) Business production label should now display the correct amount of money. (Stev)
(*) Militia Ship should no longer be robbable through the wall. (Kova)