VC:MP 0.4 (Beta) > Script Discussion

help for squirrel

(1/1)

[KB]ViceMania:
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.

sseebbyy:

--- Code: ---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 !");
}
}
--- End code ---

The command was exported from the Default 0.4 Server I have made.

[KB]ViceMania:
I am searching the certain commands from squirrel

Navigation

[0] Message Index

Go to full version