strings in custom funcs.
#1

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.
Reply
#2

why you just dont use..
enum Object
x,y,z,rx,ry,rz
etc etc etc
;
ApplyObject(playerid,"object",Object[1],Objject[2]etc);
And then forward it as public..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)