14
« on: October 21, 2009, 05:07:14 PM »
Why does this script not work? I know it's something very obvious since it's just a few messageclients, but I'd like to know what I'm doing wrong :3 I'm obviously not a scripter in any way.
//---------------------------------
//- Script_Help
//- For Survival RP
//- By LegoEggo
//---------------------------------
function serverCmdHelp(%client)
{
messageclient(%client, ", '\c6Help categories: /radios, /heat, /hunger, /material.');
};
function serverCmdRadios(%client)
{
messageclient(%client, ", '\c6Radios are bricks. You don't have one with you. To talk over a radio that you're near, end your chat with ", over" (without the quotes). That's SPACE COMMA OVER. The number above a radio indicates which channel it's on. You can only hear people on your channel, and only they can hear you.');
};
function servercmdHeat(%client)
{
messageclient(%client, ", '\c6If you don't sit by a fire for long enough, you'll freeze to death. Fires cost material to place. They're called "Heat Bricks" and they're under the "Special" category in the brick cart.');
};
function servercmdHunger(%client)
{
messageclient(%client, ", '\c6If you go too long without eating, you'll starve to death. Kill horses to gain food (lol). To eat food, type /eatfood amount.');
};
function servercmdMaterial(%client)
{
messageclient(%client, ", '\c6Material is needed to place most bricks. There are different kinds of material. Salvage material from the plane wreck by activating the bricks. They'll get fakekilled, and come back after (quite) a while. Might want to leave some for other people. Also, advanced material is required for vehicles and weapons. Advanced material is hard to find.');
};