Search found 148 matches
- Wed Oct 01, 2014 11:09 pm
- Forum: Plugin Development Support
- Topic: How to emit sound??
- Replies: 22
- Views: 19245
- Wed Oct 01, 2014 5:20 pm
- Forum: General Discussion
- Topic: SP logs locations
- Replies: 10
- Views: 8550
This warning is not from a script/plugin but from SP itself. It tells you the signature for that function is outdated since the pointer is NULL. ok yea i see other warning messaged now so how bout keep the most recent warning message on the TOP of the file instead of the bottom? so we don't have to...
- Wed Oct 01, 2014 5:05 pm
- Forum: Plugin Development Support
- Topic: How to emit sound??
- Replies: 22
- Views: 19245
- Wed Oct 01, 2014 4:17 pm
- Forum: General Discussion
- Topic: SP logs locations
- Replies: 10
- Views: 8550
Sorry for not going into more detail in my previous post. I haven't been on a computer in a few days and didn't feel like typing it all out on my phone. The "script" one does not apply to the main SP Logger. That was left in there, for the time being, as an example for when a script wants to create...
- Wed Oct 01, 2014 4:16 pm
- Forum: General Discussion
- Topic: [CSGO] Order of CFG that is executed
- Replies: 2
- Views: 3550
- Tue Sep 30, 2014 11:05 pm
- Forum: Plugin Development Support
- Topic: "Team is full" message
- Replies: 8
- Views: 7906
Then I have no clue.. This showed up as a valid ConVar when I launched my test server earlier. Maybe some game-mode specific config? well its csgo and you provided the events yourself :cool: http://www.sourcepython.com/showthread.php?158-Info-list-of-CS-GO-events&p=947&viewfull=1#post947 The map ma...
- Tue Sep 30, 2014 5:11 pm
- Forum: Plugin Development Support
- Topic: "Team is full" message
- Replies: 8
- Views: 7906
- Tue Sep 30, 2014 4:54 pm
- Forum: Plugin Development Support
- Topic: "Team is full" message
- Replies: 8
- Views: 7906
"Team is full" message
Just found out today CSGO have a really stupid hard coded team limit "Team is full" message appears when a team has as many players as the half of the max players so... basically if you have 20 slot server once one team is filled with 10 players no more players can join terrorist.. but thi...
- Mon Sep 29, 2014 4:15 pm
- Forum: General Discussion
- Topic: SP logs locations
- Replies: 10
- Views: 8550
- Mon Sep 29, 2014 4:08 pm
- Forum: Code examples / Cookbook
- Topic: Stripping weapons
- Replies: 45
- Views: 116462
- Mon Sep 29, 2014 1:47 pm
- Forum: General Discussion
- Topic: SP logs locations
- Replies: 10
- Views: 8550
SP logs locations
in core_settings.ini # Set to the areas to log (console, main log, sp log, script log): # Console = 1 # Main log = 2 # SP log = 4 # Script log = 8 where is main log? SP log and Script log?? main log location logs/source-python? or SP log logs/source-python? Script log is where the plugins is? ie. ad...
- Mon Sep 29, 2014 1:22 am
- Forum: Plugin Development Support
- Topic: getting index from playeriter
- Replies: 6
- Views: 5410
getting index from playeriter
random.choice(playerlib.getUseridList('#bot')) here is what i use in ES to get a random userid here is what i tried in SP but don't work @@ doesn't print the index from events import Event from players.entity import PlayerEntity from filters.players import PlayerIter @Event ...
- Mon Sep 29, 2014 12:42 am
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
btw is there an equivalent of
for SP?
-------------------------- edit ----------------------
nvm got it
Code: Select all
es.cexec(userid, 'jointeam 3')
for SP?
-------------------------- edit ----------------------
nvm got it
Syntax: Select all
engine_server.client_command(edict, 'jointeam 3')
- Mon Sep 29, 2014 12:13 am
- Forum: Plugin Releases
- Topic: FlashFun v1.0 re-release
- Replies: 32
- Views: 45241
crashes on CSGO most likely due to weapon dropping~ Thanks for reporting. As the first post says, I just tested it for CS:S lol. But I have both games so I'll upload an update later. EDIT: I'll upload an update without droppping the weapon, since that works fine for CS:S, too. You can test it for C...
- Mon Sep 29, 2014 12:10 am
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
- Mon Sep 29, 2014 12:08 am
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
Yes, the result is the same, but if you use the decorator the code is shorter (50%) and less error prone as you don't need to unregister the filter when you unload the plugin. This will be done automatically. Just compare these two scripts and you will understand. from commands.client import client...
- Sun Sep 28, 2014 6:17 pm
- Forum: General Discussion
- Topic: [CSGO] Order of CFG that is executed
- Replies: 2
- Views: 3550
[CSGO] Order of CFG that is executed
Not sure if this should be posted...so i post it here.... after playing with CSGO dedicated server this past few days it seems like the cfg are executed in the following order server.cfg -> gamemode_mode_server.cfg however i have script that uses from listeners import LevelInit @LevelInit def my_lev...
- Sun Sep 28, 2014 5:56 pm
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
- Sun Sep 28, 2014 5:47 pm
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
- Sun Sep 28, 2014 4:13 pm
- Forum: Plugin Development Support
- Topic: how to forcing player to specific team
- Replies: 10
- Views: 7696
how to forcing player to specific team
i've found http://www.sourcepython.com/showthread.php?478-Help-with-Client-Command-Filter-to-force-players-to-join-specified-team&highlight=Client+Command+Filter but all the wiki posted are not available anymore here is what i have right now from commands.client import client_command_manager def...