Raised This Month: $32 Target: $400
 8% 

TeamBets 2.6 (Mani Conversion)


Post New Thread Reply   
 
Thread Tools Display Modes
Obyboby
Veteran Member
Join Date: Sep 2013
Old 03-03-2019 , 06:32   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #231

Seems to be related to the translations file? Or the english language file
__________________
Obyboby is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-03-2019 , 06:59   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #232

Quote:
Originally Posted by Obyboby View Post
Seems to be related to the translations file? Or the english language file
The error

Quote:
Originally Posted by alphaearth View Post
Code:
L 03/02/2019 - 07:02:27: [SM] Exception reported: Language phrase "Advertise Bets" not found (arg 4)
points exactly to the translations files.

Seems to be very classic for people only to try to download the plugin and then moan if it doesn't work, even though there are one or more other files to actually download in the plugin threads that they didn't download.

PEBKAC.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 04-09-2020 , 10:03   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #233

guys how to make it show in chat when someone types bet t all ? it becomes invisible when other players type..
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-09-2020 , 15:50   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #234

Change PrintToChat(client,
to PrintToChatAll(
Bacardi is offline
muxy
Junior Member
Join Date: Apr 2020
Old 04-23-2020 , 16:48   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #235

Quote:
Originally Posted by Bacardi View Post
Change PrintToChat(client,
to PrintToChatAll(
I have changed it in .sp file but people still cant see when i write bet t all or bet ct all

Please guys can you help me? how to make that players can see each other beting texts? (eg bet ct all or bet t all) <3
muxy is offline
dyxL
Senior Member
Join Date: Jul 2010
Old 08-12-2020 , 16:16   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #236

players can use this in warmup, when they are bet they are earning 16k money in first round ... how can i fix it ?
dyxL is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 02-16-2023 , 16:01   TeamBets 2.8.0
Reply With Quote #237

Changes in v2.8.0:
  • Based on Wilczek version.
  • Rewritten with new syntax.
  • Some fixes and optimizations have been made in the code.
  • Now You can change chat prefix at line 10.

UPD Added missing "=" sign on line 10.
Attached Files
File Type: sp Get Plugin or Get Source (teambets 2.8.0_21.02.2023.sp - 65 views - 10.2 KB)
__________________

Last edited by Grey83; 02-21-2023 at 09:42.
Grey83 is offline
Antosh
Junior Member
Join Date: May 2021
Old 02-21-2023 , 08:44   Re: TeamBets 2.8.0
Reply With Quote #238

Quote:
Originally Posted by Grey83 View Post
Changes in v2.8.0:
  • Based on Wilczek version.
  • Rewritten with new syntax.
  • Some fixes and optimizations have been made in the code.
  • Now You can change chat prefix at line 10.
I tried to compile but i have an error

HTML Code:
// bets.sp(10) : error 001: expected token: ";", but found "-string-"
// bets.sp(10) : error 010: invalid function or declaration
//
// 2 Errors.
//
// Compilation Time: 0,14 sec
Antosh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 02-21-2023 , 09:43   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #239

Antosh, fix line 10:
PHP Code:
PREFIX[]    " \x04[TeamBets] "
==>
PHP Code:
PREFIX[]    = " \x04[TeamBets] "
The source file has been re-uploaded.
__________________
Grey83 is offline
Antosh
Junior Member
Join Date: May 2021
Old 03-02-2023 , 16:20   Re: TeamBets 2.8.0
Reply With Quote #240

Quote:
Originally Posted by Grey83 View Post
Changes in v2.8.0:
  • Based on Wilczek version.
  • Rewritten with new syntax.
  • Some fixes and optimizations have been made in the code.
  • Now You can change chat prefix at line 10.

UPD Added missing "=" sign on line 10.
After your second fix, compile fine but commands "bet <team> <amount>" not working (can't do any bet), if I use the 'bet' command with wrong data, e.g. wrong team name or amount, the plugin returns the information correctly
Antosh is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:11.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode