22.09.2010, 11:08
dini_Remove doesn't work for me and I don't why. Theres script :
Код:
GetPlayerName(playerid, LyderioName, sizeof(LyderioName)); GetPlayerName(pid, pidName, sizeof(pidName)); format(string, sizeof(string), " %s (ID: %d) Removed from gang%s ", LyderioName, playerid, pidName, pid); SendClientMessage(playerid,spalva, string); SendClientMessage(pid,spalva, string); print(string); PlayerInfo[pid][GangMember] = 0; GetPlayerName(pid, PlayerName, sizeof(PlayerName)); format(Gstring, sizeof(Gstring), "Gaujos/Nariai/%s.ini", PlayerName); dini_Remove(PlayerName); dini_Remove(Gstring); dini_IntSet(Gstring,"Boss",0); dini_IntSet(Gstring,"GangMember",0); dini_IntSet(Gstring,"Rang",0); PlayerInfo[pid][Boss] = 0; PlayerInfo[pid][GangMember] = 0; PlayerInfo[pid][Rang] = 0; etc.