24.02.2015, 13:23
Hi, I'm trying to make a function where it fills in the enum for you, although without success.
What I mean is that for example you try:
As where the function is:
That it would read it from the function name.
I hope I explained this right, it's hard enough for me already for some reason.
What I mean is that for example you try:
Код:
testfunc(playerid, ShamalMissions);
Код:
stock testfunc(playerid, enum) { CreateDynamicCP(enum[EndMission[playerid]][LoadX], enum[EndMission[playerid]][LoadY], enum[EndMission[playerid]][LoadZ], 20.0, -1, -1, playerid, -1); }
I hope I explained this right, it's hard enough for me already for some reason.