Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Showing results 1 to 8 of 8
Search took
0.00
seconds.
Search:
Posts Made By:
Misfired
Forum:
Scripting
11-28-2015, 23:51
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
Well for the moment I've replace the whole mess with ServerCommand calls and it's working... mostly. 9 times out of 10 the bot respawns. When it doesn't, it takes a server kick and respawn to get it...
Forum:
Scripting
11-28-2015, 15:16
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
And I'm not ignoring your input asherkin. Just trying to get past this other hurdle first.
Forum:
Scripting
11-28-2015, 15:14
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
I'm working with that now, but still struggling with passing the correct args.
Back to the original code for a second.... I'm find this frustrating.
The first func called from the console...
Forum:
Scripting
11-28-2015, 11:57
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
After my last post I did exactly as you have, simplified the function down to just changeteam and dispatchspawn. That does get the bots on the correct team after death, but they don't spawn. Timing...
Forum:
Scripting
11-28-2015, 01:02
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
I can see I'm way off here.... first I'm pushing strings to a function that's expecting ints.
Second I think I understand your comment now Wliu.
I'm only pushing one combined object, when I should...
Forum:
Scripting
11-28-2015, 00:54
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
It takes two objects. 'client' I assume is the client index of the funtion caller? argc is the list of options.
In this case argc would contain 'Bot1' and the team number '1'
public Action...
Forum:
Scripting
11-27-2015, 23:09
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Re: Call_StartFunction - help passing arguments correctly
bMsg contain both the player name "Bot1" and the team number as seen in the print message.
[SM] @ @ Bot Team bMsg "Bot1 2" @ @
Adding a third field to the string like ... "id Bot1 2" ... gives...
Forum:
Scripting
11-27-2015, 19:54
Replies:
14
Call_StartFunction - help passing arguments correctly
Views:
3,392
Posted By
Misfired
Call_StartFunction - help passing arguments correctly
Brand new to sourcemod and very rusty on C/C++, so pardon the code.
As a learning exercise I'm trying to identify dead bots and revive when they die.
This is for more or less a HL2DM mod.
...
Showing results 1 to 8 of 8
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
13:30
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode