set_task & sequence question
Hello,
I made a function that requires 2 inputes, the players id and a variable Code:
public playsound(id, number){is this the right way to call it up? Code:
public sound_system(id){ |
Re: set_task question
Code:
Then in your playsound function: Code:
|
Re: set_task question
Quote:
|
Re: set_task question
You need a unique taskid, or else the core will over write your task's data, due to another plugin. So basically its just some random number.
|
Re: set_task question
Not true, it's possible to create numerous tasks with the same ID.
Task ID prefixes is useful for example to operate with the different task groups. |
Re: set_task question
Quote:
Quote:
|
Re: set_task question
erm im getting confused :lol:
btw does anyone know this: how to make a model's sequence fully run and then reset it back to beginning so it runs again? like a sequence loop PLS DO NOT SAY SERVER_FRAME, because that fucks up the sequence i know these are needed Code:
entity_set_int(entid[id], EV_INT_sequence, #seqnr) |
Re: set_task & sequence question
client_PreThink
|
Re: set_task & sequence question
Hey, IM me, I think we are on the same path of something similar to ESF.
Aim: x3xRx |
Re: set_task & sequence question
i'm gonna test it out if it works
btw ty for the help |
| All times are GMT -4. The time now is 08:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.