View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 12-13-2020 , 15:59   Re: [CS:GO] Force shoot & reload
Reply With Quote #5

Code:
public Action Cmd_TestShoot(int id, int iArgs) {     Event eReload = CreateEvent("weapon_reload")     if(eReload == null)     {         PrintToConsole(id, "Error while creating event.")         return Plugin_Handled     }     eReload.SetInt("userid", GetClientUserId(id))     eReload.Fire()     return Plugin_Handled }

I'm getting the error message.
What am I doing wrong?

Is there no function that can trigger a model's animation?
__________________

Last edited by OciXCrom; 12-13-2020 at 16:00.
OciXCrom is offline
Send a message via Skype™ to OciXCrom