01.03.2009, 11:43
I builded a command,
and when the command use "dini_Int..." or "dini_Get..." the FilterScript crash (not working any more)
that the command:
How can I fix it?
Thanks for helpers !
and when the command use "dini_Int..." or "dini_Get..." the FilterScript crash (not working any more)
that the command:
Код:
if(strcmp(cmd2, "Info", true)==0){ tmp=strtok(cmdtext, idx); if(!strlen(tmp)) return SendClientMessage(playerid,white,"USAGE:\"/Clan Info [ClanName]\""); tmp=strreplace("[","",tmp); tmp=strreplace("]","",tmp); format(cfile,256,"RL/Clans/%s.txt",tmp); if(!dini_Exists(cfile)) return SendClientMessage(playerid,white,"!ма чййн чмап бщн жд "); format(string,256,"~~~ [%s]:ойгт тм дчмап ~~~",tmp); SendClientMessage(playerid,lblue,string); format(string,256,"[%s|%s]:ъашйк ежоп фъйзд ",dini_Get(cfile,"OpenTime"),dini_Get(cfile,"OpenDate")); SendClientMessage(playerid,lgreen,string); format(string,256,"[%d]:бтмйн ",dini_Int(cfile,"Leaders")); SendClientMessage(playerid,lgreen,string); format(string,256,"[%d]:щзчрйн ",dini_Int(cfile,"Players")); SendClientMessage(playerid,lgreen,string); SendClientMessage(playerid,lblue,":дегтъ дчмап "); if(dini_Int(cfile,"MSG")==0){ SendClientMessage(playerid,lgreen," айп дегтд "); } else { format(string,256," %s ",dini_Get(cfile,"MSG")); SendClientMessage(playerid,lgreen,string); } SendClientMessage(playerid,lblue,"~~~~~~~~~~~~~~~~~~~~~"); return 1; }
Thanks for helpers !