03.09.2013, 14:43
Can someone give me that script and to save when player disconnect not to lose his mute
//Add this somewhere under your /mute command
PlayerInfo[secondplayer][mute enum] = 1;
//This under OnPlayerDisconnect
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
INI_WriteInt(File,"Muted",PlayerInfo[playerid]][mute enum]);
INI_Close(File);
//Under your load user data
INI_Int("Muted",PlayerInfo[playerid][mute enum]);
Well, it's pretty obvious that English isn't your best language but that doesn't mean that you have to minus rep me for a little misunderstanding do you? This misunderstanding is something you caused because you obviously said that you want a muted player to stay muted after he disconnects.
|