Author Topic: help for squirrel  (Read 3772 times)

0 Members and 1 Guest are viewing this topic.

Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
help for squirrel
« 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.

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: help for squirrel
« Reply #1 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.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline [KB]ViceMania

  • Wiseguy
  • **
  • Posts: 53
  • Mega War server administrator
    • View Profile
Re: help for squirrel
« Reply #2 on: September 27, 2014, 01:24:07 pm »
I am searching the certain commands from squirrel