04.03.2013, 11:32
hey guys, could someone help me out with this? I'm trying to create a function i.e:
ApplyObject(playerid,"",params...);
In the quotes, I will be using already created functions and the params would be the parameters of the function inside quotes. So it would be something like
public object1(x,y,z)
{
...
ApplyObject(playerid,"object1",x,y,z);
public object2(x,y,z,rx,ry,rz)
{
...
ApplyObject(playerid,"object2",x,y,z,rx,ry,rz);
If someone still doesn't understand, I want the params of the applyobject function to differ on functions used inside quotes.
ApplyObject(playerid,"",params...);
In the quotes, I will be using already created functions and the params would be the parameters of the function inside quotes. So it would be something like
public object1(x,y,z)
{
...
ApplyObject(playerid,"object1",x,y,z);
public object2(x,y,z,rx,ry,rz)
{
...
ApplyObject(playerid,"object2",x,y,z,rx,ry,rz);
If someone still doesn't understand, I want the params of the applyobject function to differ on functions used inside quotes.