View Single Post
Author Message
ZombieTheMan01
Senior Member
Join Date: Aug 2015
Location: Turkey
Old 04-14-2019 , 13:17   Weapon effects make trouble and repeats [Thunder Ghost Walker Plugin]
Reply With Quote #1

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.
__________________
FREE PLUGINS:

2021 and before -> ALL PLUGIN LINK IS HERE <-

2022:
Zombie: The Original [%70 Completed]
ZombieTheMan01 is offline