Vice City Multiplayer

VC:MP 0.4 (Beta) => Script Discussion => Topic started by: [KB]ViceMania on September 27, 2014, 01:16:02 pm

Title: help for squirrel
Post by: [KB]ViceMania on September 27, 2014, 01:16:02 pm
Can somebody show me how to make my commands like" player.Health = , MessagePlayer("[#6666FF]TEXT",player); , Message("[#FF9900]TEXT TO ALL");
I need all the commands to see how do mine.
Title: Re: help for squirrel
Post by: sseebbyy on September 27, 2014, 01:18:00 pm
Code: [Select]
if(cmd == "heal")
{
local hp = player.Health;
if(hp == 100) Message("[#FF3636]Error - [#8181FF]Use this command when you have less than 100% hp !");
else {
player.Health = 100.0;
Message("[#FFFF81]---> You have been healed !");
}
}

The command was exported from the Default 0.4 Server I have made.
Title: Re: help for squirrel
Post by: [KB]ViceMania on September 27, 2014, 01:24:07 pm
I am searching the certain commands from squirrel