AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin] (https://forums.alliedmods.net/showthread.php?t=315594)

ZombieTheMan01 04-14-2019 13:17

Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
Hello everyone.
During this time, while trying to give this sprites, it gives me the sprites that repeats the same thing.
When I press the right click button, sprites constantly repeat and do not stop.
I got this code from the "Oil Boomer" gun of m4m3ts. I wonder where the missing out of this?

The video link I will show is exactly this and it gives the sprites right here:
https://www.youtube.com/watch?v=am-e...youtu.be&t=107

PHP Code:

public ujung_petrol(id)
{
    
playerid[id] = engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"env_sprite"))

    
engfunc(EngFunc_SetModelplayerid[id], WeaponResource[0])
    
entity_set_string(playerid[id], EV_SZ_classnameFIRE_UJUNG)
    
set_pev(playerid[id], pev_nextthinkget_gametime() + 0.5)
    
set_pev(playerid[id], pev_body2)
    
set_pev(playerid[id], pev_movetypeMOVETYPE_FOLLOW)
    
set_pev(playerid[id], pev_rendermodekRenderTransAdd)
    
set_pev(playerid[id], pev_renderamt190.0)
    
set_pev(playerid[id], pev_aimentid)
    
set_pev(playerid[id], pev_scale0.3)
    
set_pev(playerid[id], pev_frame0.0)
    
set_pev(playerid[id], pev_iuser2get_user_team(id))

    
set_pev(playerid[id], pev_solidSOLID_NOT)
    
dllfunc(DLLFunc_Spawnplayerid[id])


I'm above on the code. Thanks in advance.

Krtola 04-14-2019 18:50

Re: Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
I dont understund,is this video show how sprites should look,or on this video is that sprite effect with bug?

ZombieTheMan01 04-15-2019 09:41

Re: Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
Quote:

Originally Posted by Krtola (Post 2647560)
I dont understund,is this video show how sprites should look,or on this video is that sprite effect with bug?

https://www.youtube.com/watch?v=0TpyAH-KQvs
Bro, if I show it, I hope you'il understand better.

Krtola 04-15-2019 11:08

Re: Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
Ok now I see. But in order to help you,I really need to see whole code(sma) from your plugin and from original plugin. If u dont like to post it here,feel free to contact me on skype.

ZombieTheMan01 04-16-2019 12:50

Re: Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
Quote:

Originally Posted by Krtola (Post 2647642)
Ok now I see. But in order to help you,I really need to see whole code(sma) from your plugin and from original plugin. If u dont like to post it here,feel free to contact me on skype.

I sent a message. I'll throw the code when you answer.

thEsp 04-16-2019 13:53

Re: Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
 
Until you attach or show the code, none can understand what AND where your problem is...


All times are GMT -4. The time now is 00:32.

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