Raised This Month: $ Target: $400
 0% 

Showing results 1 to 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: cmndrfello
Forum: Scripting Help 01-07-2022, 14:04
Replies: 5
Views: 743
Posted By cmndrfello
Re: HUD Breaks on spawn (DOD)

Nevermind! I've found a fix!
Sending a "HideWeapon" message post spawn with written byte as 0 will reset the hidden elements and will fix my issue!

message_begin(MSG_ONE,...
Forum: Scripting Help 01-07-2022, 02:02
Replies: 5
Views: 743
Posted By cmndrfello
Re: HUD Breaks on spawn (DOD)

Here's the source code
Forum: Scripting Help 01-06-2022, 17:40
Replies: 5
Views: 743
Posted By cmndrfello
Re: HUD Breaks on spawn (DOD)

Here's the code that i am using on a windows server


register_forward(FM_PlayerPreThink, "dod_player_prethink");
RegisterHam(Ham_Spawn, "player", "dod_player_postspawn", true);

public...
Forum: Scripting Help 01-06-2022, 16:54
Replies: 5
Views: 743
Posted By cmndrfello
HUD Breaks on spawn (DOD)

Hello,
Recently I'm trying to reactivate the client's HUD with the player's pdata though It seems that the offsets I found for DoD's CBasePlayer aren't correct?
dod-offsets-cbaseplayer...
Forum: Scripting Help 01-06-2022, 02:12
Replies: 5
Views: 809
Posted By cmndrfello
Re: Block event/forward default procedure

Then, is it possible to block a forward from happening? for example with "dod_client_changeteam"? Will returning PLUGIN_HANDLED stop the team switch?

(I'm just not able to check it right now...
Forum: Scripting Help 01-06-2022, 01:55
Replies: 5
Views: 809
Posted By cmndrfello
Block event/forward default procedure

Hello!
I've got another feature that I want to work on which blocks the player from switching teams, in a way that doesn't revert him to his old team, rather not switching him teams in the first...
Forum: Scripting Help 01-04-2022, 14:33
Replies: 11
Views: 1,061
Posted By cmndrfello
Re: Spawn a player during respawn timer (DOD)

Solved
The plugin actually had a nice solution! I fixed it a bit with the 'pev_deadflag' as the original code had some stuff that could be written a lot nicer

...
Forum: Scripting Help 01-04-2022, 10:05
Replies: 11
Views: 1,061
Posted By cmndrfello
Re: Spawn a player during respawn timer (DOD)

Thank you! Looks interesting! I will take a look once I get the chance and will update about my findings
Forum: Scripting Help 01-04-2022, 00:07
Replies: 11
Views: 1,061
Posted By cmndrfello
Re: Spawn a player during respawn timer (DOD)

It's exactly what I'm looking for but I can't seem to get it downloaded. You need a activated account and though I created one they don't send a activation email and so I'm stuck as I can't request...
Forum: Scripting Help 01-02-2022, 13:48
Replies: 11
Views: 1,061
Posted By cmndrfello
Re: Spawn a player during respawn timer (DOD)

You are right! I have tried it now, but for some reason the player won't respawn, it only skips the death "cutscene"/animation and still waits for the respawn timer to end...

I tried with set_task...
Forum: Scripting Help 01-02-2022, 13:36
Replies: 11
Views: 1,061
Posted By cmndrfello
Re: Spawn a player during respawn timer (DOD)

I assume you meant "Ham_DOD_RoundRespawn" and have tried that but it did not work... The team is switched but the player does not get respawned by the command only after the respawn timer ends like...
Forum: Scripting Help 01-02-2022, 12:06
Replies: 11
Views: 1,061
Posted By cmndrfello
Spawn a player during respawn timer (DOD)

Hello, I've recently been trying to create a zombie plague style plugin for Day of Defeat.
I'm trying to make it so when an Allied player dies he will instantly be switched to Axis and respawn and...
Showing results 1 to 12 of 12

 
Forum Jump

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


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