24.06.2010, 19:34
Can't you just first move the other warnings by 1 slot, to make first slot empty, then add the new warning to the first slot?
pawn Код:
dini_Set(Playerfile(id), "Warn5", dini_Get(Playerfile(id), "Warn4"));
dini_Set(Playerfile(id), "Warn4", dini_Get(Playerfile(id), "Warn3"));
dini_Set(Playerfile(id), "Warn3", dini_Get(Playerfile(id), "Warn2"));
dini_Set(Playerfile(id), "Warn2", dini_Get(Playerfile(id), "Warn1"));
dini_Set(Playerfile(id), "Warn1", warn);