27.02.2014, 14:48
public deger values does not work help!!
Код:
Antiopen(playerid,"ANTI_CRASHER","Anti_Crasher","Anti Crasher","Anti Crasher"); // Deger is "ANTI_CRASHER"
Код:
forward Antiopen(playerid,deger[],const dini[],const turkce2[], const english2[]);
public Antiopen(playerid,deger[],const dini[],const turkce2[],const english2[])
{
new str[100],file[256],string[144],string2[144];
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
if(deger[30] == 1){ // value does not work
#if LANGUAGE == 0
format(string, sizeof(string), "%s Zaten Aktif.",turkce2);
return Hatatr(playerid,string);
#elseif LANGUAGE == 1
format(string, sizeof(string), "%s Already Active.",english2);
return Hataen(playerid,string);
#endif
}
deger[30] = 1; // value does not work
#if MYSQL_KAYIT == true
MySQLguncelle(),MySQLguncelle2();
#elseif NORMAL_KAYIT == true
format(str,sizeof(str),"%s",dini);
format(file,sizeof(file),"Anti_Hile/Ayarlar.ini");
dini_IntSet(file,str,1);
#endif
#if LANGUAGE == 0
format(string2, sizeof(string2), "%s Başarıyla Aktif Edildi.", turkce2);
Bilgitr(playerid,string2);
#elseif LANGUAGE == 1
format(string2, sizeof(string2), "%s Has Been Succesfully Activated.", english2);
Bilgien(playerid,string2);
#endif
return 1;
}


