Vice City: Multiplayer

Server Development => Scripting and Server Management => Script Showroom => Topic started by: ! on Jul 25, 2016, 09:33 AM

Title: Console Input Commands -v1.1
Post by: ! on Jul 25, 2016, 09:33 AM
Creadits:-
Xmair  For sample (http://forum.vc-mp.org/?topic=1480.0)
ysc3839 For plugin (http://forum.vc-mp.org/?topic=387.0)

Major Creadits:-Zeus

Available Commands:
exe, chat, cc, close, pos/s, kick, drown, kill, slap, freeze, unfreeze, healall/h.creadits, mute, unmute
Download plugin from here (http://forum.vc-mp.org/?topic=387.0)

Script Files:-
http://files.thijn.ovh/download/269d1b683083e0eccb8383d7c30c2c47/CMD.zip

http://files.thijn.ovh/img/269d1b683083e0eccb8383d7c30c2c47/CMD.zip

(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Ffiles.thijn.ovh%2Fimg%2F269d1b683083e0eccb8383d7c30c2c47%2FCMD.zip&hash=5433e26101602597dc9803854e649e43269d105d) (http://files.thijn.ovh/download/269d1b683083e0eccb8383d7c30c2c47/CMD.zip)
Changelogs

Changelog - v1.1
► Fix little bugs & Added commands "'[ mute, unmute. ]'"
Title: Re: Console Input Commands
Post by: m1k3 on Jul 25, 2016, 12:03 PM
pos gives error if no text
Title: Re: Console Input Commands
Post by: Anik on Jul 25, 2016, 12:11 PM
on the slap command you are setting the player's health to 20. Suppose the player's health is less than 20 like 5. If you slap him his health will increase to 20 :P

And the pos will give error if you don't input any text. You should have do { if ( !text ) } first
Title: Re: Console Input Commands -v1.1
Post by: ! on Jul 26, 2016, 06:54 AM
Quote from: Anik on Jul 25, 2016, 12:11 PMon the slap command you are setting the player's health to 20. Suppose the player's health is less than 20 like 5. If you slap him his health will increase to 20 :P

And the pos will give error if you don't input any text. You should have do { if ( !text ) } first
Updated