24.02.2013, 14:42
Well, I'll try to explain myself properly. I'm asking if it's possible to :
Lets say I got this array. (example: i'm not really doing this).
new PlayerStuff[MAX_PLAYERS]
PlayerStuff[0] = "Money";
PlayerStuff[1] = "Weapons";
PlayerStuff[3] = "Drugs";
PlayerStuff[4] = "Other";
etc...
Now, I want for example "weapons" removed, but I want this as result :
PlayerStuff[0] = "Money";
PlayerStuff[1] = "Drugs";
PlayerStuff[3] = "Other";
etc..
So, I actually want to delete the content of the array-row, and reduce the index of the follow element rows by 1.
Well if this is possible (For all the stuff in my array, there is a txt file, I need that txt file removed (dini_remove) but, besides that, i need the following txt names also reduced by 1.) names of the txt files are just like 1,2,3,4 etc.
Sorry, I couldn't really explain myself properly, I hope you get the idea. Thanks for any feedback.
Lets say I got this array. (example: i'm not really doing this).
new PlayerStuff[MAX_PLAYERS]
PlayerStuff[0] = "Money";
PlayerStuff[1] = "Weapons";
PlayerStuff[3] = "Drugs";
PlayerStuff[4] = "Other";
etc...
Now, I want for example "weapons" removed, but I want this as result :
PlayerStuff[0] = "Money";
PlayerStuff[1] = "Drugs";
PlayerStuff[3] = "Other";
etc..
So, I actually want to delete the content of the array-row, and reduce the index of the follow element rows by 1.
Well if this is possible (For all the stuff in my array, there is a txt file, I need that txt file removed (dini_remove) but, besides that, i need the following txt names also reduced by 1.) names of the txt files are just like 1,2,3,4 etc.
Sorry, I couldn't really explain myself properly, I hope you get the idea. Thanks for any feedback.