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_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_sprite"))
engfunc(EngFunc_SetModel, playerid[id], WeaponResource[0])
entity_set_string(playerid[id], EV_SZ_classname, FIRE_UJUNG)
set_pev(playerid[id], pev_nextthink, get_gametime() + 0.5)
set_pev(playerid[id], pev_body, 2)
set_pev(playerid[id], pev_movetype, MOVETYPE_FOLLOW)
set_pev(playerid[id], pev_rendermode, kRenderTransAdd)
set_pev(playerid[id], pev_renderamt, 190.0)
set_pev(playerid[id], pev_aiment, id)
set_pev(playerid[id], pev_scale, 0.3)
set_pev(playerid[id], pev_frame, 0.0)
set_pev(playerid[id], pev_iuser2, get_user_team(id))
set_pev(playerid[id], pev_solid, SOLID_NOT)
dllfunc(DLLFunc_Spawn, playerid[id])
}
I'm above on the code. Thanks in advance.
__________________