Перейти к содержимому
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.

Featured Replies

Опубликовано:
JoeyB":355zvbpz]
for(;
{
wait 0.5;
switch(self getCurrentWeapon())
{
	case "barrett_mp":
		self setClientDvar("cg_gun_x", VALUE);
	break;

	default_mp:
		self setClientDvar("cg_gun_x", 0);
}
}

 

 

Untested.

Nigger using switches because it's better code :|

Опубликовано:
JoeyB":wwo9n42c]
for(;
{
wait 0.5;
switch(self getCurrentWeapon())
{
	case "barrett_mp":
		self setClientDvar("cg_gun_x", VALUE);
	break;

	default_mp:
		self setClientDvar("cg_gun_x", 0);
}
}

 

 

Untested.

Nigger using switches because it's better code :|

 

Your switch case statement on your vision code would had worked if it wouldn't had been for the break; for default_mp. It gave "missing case statement" because only case "": needs break;

Опубликовано:
  • Автор
JoeyB":39ag5w3v]
JoeyB":39ag5w3v]
for(;
{
wait 0.5;
switch(self getCurrentWeapon())
{
	case "barrett_mp":
		self setClientDvar("cg_gun_x", VALUE);
	break;

	default_mp:
		self setClientDvar("cg_gun_x", 0);
}
}

can you actually send me a .gsc file because everytime i do it it says 'bad syntax'.

 

Untested.

Nigger using switches because it's better code :|

 

Your switch case statement on your vision code would had worked if it wouldn't had been for the break; for default_mp. It gave "missing case statement" because only case "": needs break;

Опубликовано:
  • Автор
JoeyB":2qp22opm]I told him that and he argued and then said oh well he's using if statements, lol.

the message bugged. i was supposed to say, can you send me the .gsc file with cg_gun_z -1? because when i d it it says bad syntax.

Опубликовано:
JoeyB":2437fox6]I told him that and he argued and then said oh well he's using if statements, lol.

the message bugged. i was supposed to say, can you send me the .gsc file with cg_gun_z -1? because when i d it it says bad syntax.

Did you replace "VALUE" with -1?

Опубликовано:
  • Автор
JoeyB":x11urvb2]I told him that and he argued and then said oh well he's using if statements, lol.

the message bugged. i was supposed to say, can you send me the .gsc file with cg_gun_z -1? because when i d it it says bad syntax.

yes

  • 2 weeks later...

Join the conversation

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

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

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

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

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

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

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.