Search found 11 matches
- Tue May 08, 2018 12:35 pm
- Forum: Plugin Development Support
- Topic: how to catch the halftime
- Replies: 5
- Views: 9157
Re: how to catch the halftime
i use this code to get the halftime but i can't get the correct the halftime ! because it calculated the warm up, draw matches .... i wrote the plugin if the match goes halftime ..i use to print the second half but can't print?? what mistake i did ? from cvars import ConVar from events import Event ...
- Sat May 05, 2018 9:07 am
- Forum: Plugin Development Support
- Topic: how to catch the halftime
- Replies: 5
- Views: 9157
how to catch the halftime
hi any one tell ?? how to catch the halftime i tried this method to get the round played = gamerules.get_property_short('cs_gamerules_data.m_totalRoundsPlayed' it returns -1 that's it the i tried totalrounds maxrounds = ConVar('mp_maxrounds').get_int() it return the correct value but i can't get the...
- Wed May 02, 2018 11:09 am
- Forum: Plugin Development Support
- Topic: how to get the current game state/match state
- Replies: 3
- Views: 6062
how to get the current game state/match state
hi ...now i'm creating one command like '' game_state" it shows current state of the game like if a player is in warm_up means it show player is in warm_up,if player is playing in game means it shows player playing the game ,if player is playing second half means it shows second half likethat ....
- Sat Apr 28, 2018 1:40 pm
- Forum: Plugin Development Support
- Topic: create json file dump the value
- Replies: 1
- Views: 3348
create json file dump the value
here i can create the json file ,in that i can print the player killed victim but it prints like this only in file.json ({"Name": "Chet", "Killer name": "Finn", "weapon type": "bizon"}) LAST ONE KILLED DATA ONLY but in console it prints lik...
- Sat Apr 28, 2018 8:01 am
- Forum: General Discussion
- Topic: installation problem-Encountered a Warning:
- Replies: 4
- Views: 7307
Re: installation problem-Encountered a Warning:
k fine
thank you so much!!
thank you so much!!
- Fri Apr 27, 2018 12:59 pm
- Forum: General Discussion
- Topic: installation problem-Encountered a Warning:
- Replies: 4
- Views: 7307
Re: installation problem-Encountered a Warning:
now source python works fine !!! even though i'm getting error in console log like this exec: couldn't exec server.cfg exec: couldn't exec gamemode_competitive_server.cfg Commentary: Could not find commentary data file 'maps/de_mirage_commentary.txt'. Error parsing BotProfile.db - unknown attribute ...
- Wed Apr 18, 2018 3:13 pm
- Forum: General Discussion
- Topic: installation problem-Encountered a Warning:
- Replies: 4
- Views: 7307
installation problem-Encountered a Warning:
i have download the latest version of source-python-csgo-February-21-2018.zip now im facing the problem to load [Source.Python] Loading... [SP] Encountered a Warning: File '..\addons\source-python\packages\site-packages\mutagen\id3\_specs.py', l ine 666: DeprecationWarning invalid escape sequence \s...
- Wed Apr 04, 2018 7:28 am
- Forum: Plugin Development Support
- Topic: print player name function
- Replies: 3
- Views: 5887
Re: print player name function
thank you sooo much!!!!
the code works
the code works
- Tue Apr 03, 2018 1:09 pm
- Forum: Plugin Development Support
- Topic: execute_server_command not working
- Replies: 2
- Views: 4442
Re: execute_server_command not working
thanks bro !!! it works
- Tue Apr 03, 2018 1:05 pm
- Forum: Plugin Development Support
- Topic: print player name function
- Replies: 3
- Views: 5887
print player name function
this code run perfectly ('user ID "{}" was killed by attacker ID "{}" by weapon "{}") print the user 156 was killed by attacker 157 by weapon ak47 But i need to print the user name instead of the userid !! what can do ?To print name of the player and name of the attacke...
- Sat Mar 31, 2018 8:23 am
- Forum: Plugin Development Support
- Topic: execute_server_command not working
- Replies: 2
- Views: 4442
execute_server_command not working
im trying to execute "execute_server_command" which supposed to execute mp_warmup_end command. Say text 2 is working but the command is not getting executed. Did i miss something? from events import Event from messages import SayText2 from engines.server import execute_server_command from ...