Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Witch Red


Post New Thread Reply   
 
Thread Tools Display Modes
chungocanh12
Member
Join Date: Apr 2023
Location: Việt Nam
Old 05-11-2023 , 00:57   Re: [L4D & L4D2] Witch Red
Reply With Quote #31

pls update it, i like it alot. But can't use witch SM 1.11. anyone help fix it pls
chungocanh12 is offline
Slaven555
Member
Join Date: Jul 2018
Old 05-11-2023 , 04:44   Re: [L4D & L4D2] Witch Red
Reply With Quote #32

Quote:
Originally Posted by chungocanh12 View Post
pls update it, i like it alot. But can't use witch SM 1.11. anyone help fix it pls
replace line 548 with this:

stock void DealDamage(int attacker = 0, int victim, int damage, int dmg_type = 0, char[] weapon = "")
Slaven555 is offline
BenLH
Junior Member
Join Date: Aug 2019
Old 06-19-2023 , 22:57   Re: [L4D & L4D2] Witch Red
Reply With Quote #33

It repeats the error infinitely. What should I do to fix it?
PHP Code:
L 06/20/2023 10:34:30: [SMBlaming00witchred.smx
L 06
/20/2023 10:34:30: [SMCall stack trace:
L 06/20/2023 10:34:30: [SM]   [0GetEntPropVector
L 06
/20/2023 10:34:30: [SM]   [1Line 755D:\Program\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\00witchred.sp::CreateParticle
L 06
/20/2023 10:34:30: [SM]   [2Line 1127D:\Program\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\00witchred.sp::WhiteFire
L 06
/20/2023 10:34:30: [SMException reportedEntity 302 (302is invalid
L 06
/20/2023 10:34:30: [SMBlaming00witchred.smx
L 06
/20/2023 10:34:30: [SMCall stack trace:
L 06/20/2023 10:34:30: [SM]   [0GetEntPropVector
L 06
/20/2023 10:34:30: [SM]   [1Line 755D:\Program\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\00witchred.sp::CreateParticle
L 06
/20/2023 10:34:30: [SM]   [2Line 1127D:\Program\Steam\steamapps\common\Left 4 Dead 2\left4dead2\addons\sourcemod\scripting\00witchred.sp::WhiteFire 
PHP Code:
public void CreateParticle(int entchar[] particleTypefloat time)
{
    
char tName[64];
    
int particle CreateEntityByName("info_particle_system", -1);
    if (
IsValidEntity(particle))
    {
        
float pos[3];
        [
B]GetEntPropVector(entProp_Send"m_vecOrigin"pos);[/B]
        
TeleportEntity(particleposNULL_VECTORNULL_VECTOR);
        
GetEntPropString(entProp_Data"m_iName"tNamesizeof(tName));
        
DispatchKeyValue(particle"targetname"tName);
        
DispatchKeyValue(particle"parentname"tName);
        
DispatchKeyValue(particle"effect_name"particleType);
        
DispatchSpawn(particle);
        
SetVariantString(tName);
        
AcceptEntityInput(particle"SetParent"particleparticle0);
        
ActivateEntity(particle);
        
AcceptEntityInput(particle"start");
        
CreateTimer(timeDeleteParticlesparticle0);
    }
}
public 
Action WhiteFire(Handle timerany witch)
{
    
CreateTimer(g_iIntervalAbilityEntIndexToEntRef(witch), TIMER_REPEAT);
    
CreateParticle(witch"fire_small_01"1.0);
    return 
Plugin_Continue;

BenLH is offline
Reply



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 17:25.


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