Перейти к содержимому
View in the app

A better way to browse. Learn more.

Zloplay community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Опубликовано:

I decided to mess around with the Quarantine V3.1 mod and customize it a bit, but I am now getting an error when trying to run a server.

Error: bad syntax at file maps/mp/gametypes/_rank.gsc, line 864:
level.itemCost["health"] = 50;

 

If anyone may be able to help, that'd be much appreciated! Also I'm kind of a noob at modding. :D

Featured Replies

Опубликовано:

I don't see anything wrong. Here is more of the code

CostInit()
{
level.itemCost = [];

/** Human **/
level.itemCost["ammo"] = 200;
level.itemCost["LMG"] = 450;
level.itemCost["Assault Rifle"] = 150;
level.itemCost["Machine Pistol"] = 50;
level.itemCost["Riot"] = 500;
level.itemCost["Intervention"] = 400;
level.itemCost["Barrett"] = 350;
level.itemCost["Howitzer"] = 250;
level.itemCost["artillery"] = 200;
level.itemCost["nightvision"] = 200;
level.itemCost["Akimbo"] = 150;
level.itemCost["Eotech"] = 50;
level.itemCost["FMJ"] = 50;
level.itemCost["recoil"] = 400;
level.itemCost["RPG"] = 100;
level.itemCost["Silencer"] = 100;
level.itemCost["XMags"] = 150;
level.itemCost["ROF"] = 50;
level.itemCost["SentryGun"] = 750;
level.itemCost["FamasOp"] = 300

/** Zombie **/
level.itemCost["health"] = 50;
level.itemCost["Thermal"] = 200;
level.itemCost["smoke"] = 50;

/** Perks **/
level.itemCost["SteadyAim"] = 100;
level.itemCost["SteadyAimPro"] = 50;
level.itemCost["SleightOfHand"] = 150;
level.itemCost["SleightOfHandPro"] = 100;
level.itemCost["SitRep"] = 100;
level.itemCost["SitRepPro"] = 50;
level.itemCost["StoppingPower"] = 150;
level.itemCost["StoppingPowerPro"] = 100;
level.itemCost["ColdBlooded"] = 150;
level.itemCost["ColdBloodedPro"] = 100;
level.itemCost["Ninja"] = 100;
level.itemCost["NinjaPro"] = 150;
level.itemCost["Lightweight"] = 150;
level.itemCost["LightweightPro"] = 50;
level.itemCost["FinalStand"] = 200;
level.itemCost["semtex"] = 500;
level.itemCost["ThrowingKnife"] = 600;
level.itemCost["DoorHP"] = 10;
}

Опубликовано:

Damn, now I feel pretty blind. Thanks for the help!

 

EDIT: I don't mean to be a bother, but I got another error, and it's pretty cryptic:

Error: 
******* script compile error *******
Error: unknown function: Error: @ 165129

Опубликовано:

I added a buyable famas by replacing the humans throwing knife, and changed the zombies throwing knife in the shop to a javelin.

Опубликовано:
There is no Human Throwing Knife and why do you want to replace the zombies TK with a Javelin .. ? That is stupid xD

I thought I saw it was for humans. And javelin so rounds are faster. :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

Сейчас на странице 0

  • Нет пользователей, просматривающих эту страницу

Важная информация

Используя этот сайт, вы соглашаетесь Условия использования.

Account

Navigation

Поиск

Поиск

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.