[POMOC] Clanovi u org


Započeo Huan Escobar, Februar 05, 2017, 14:44:46 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim: UP
Detaljan opis problema: Mod ima za svaku org po 10 clanova isao sam I svuda de je bilo vezano za clanove svake org dodao jos po 10 komada, I kad compile I startujem mod u ini fajlu za clanove ne ispise te dodatne koje sam ubacio? Do cega je?
Dio skripte: /
Neke slike/video za lakse dobivanje pomoci(neobavezno): /


#define IZBACENICLANOVI "IzbaceniClanovi/%s.ini"
#define CLANOVI "Clanovi/%d.ini"
#define MAX_CLANOVA 40
enum Clanovi
{
	LSPDImaClana1,
	LSPDImeClana1[MAX_PLAYER_NAME],
	LSPDImaClana2,
	LSPDImeClana2[MAX_PLAYER_NAME],
	LSPDImaClana3,
	LSPDImeClana3[MAX_PLAYER_NAME],
	LSPDImaClana4,
	LSPDImeClana4[MAX_PLAYER_NAME],
	LSPDImaClana5,
	LSPDImeClana5[MAX_PLAYER_NAME],
	LSPDImaClana6,
	LSPDImeClana6[MAX_PLAYER_NAME],
	LSPDImaClana7,
	LSPDImeClana7[MAX_PLAYER_NAME],
	LSPDImaClana8,
	LSPDImeClana8[MAX_PLAYER_NAME],
	LSPDImaClana9,
	LSPDImeClana9[MAX_PLAYER_NAME],
	LSPDImaClana10,
	LSPDImeClana10[MAX_PLAYER_NAME],
	LSPDImaClana11,
	LSPDImeClana11[MAX_PLAYER_NAME],
	LSPDImaClana12,
	LSPDImeClana12[MAX_PLAYER_NAME],
	LSPDImaClana13,
	LSPDImeClana13[MAX_PLAYER_NAME],
	LSPDImaClana14,
	LSPDImeClana14[MAX_PLAYER_NAME],
	LSPDImaClana15,
	LSPDImeClana15[MAX_PLAYER_NAME],
	LSPDImaClana16,
	LSPDImeClana16[MAX_PLAYER_NAME],
	LSPDImaClana17,
	LSPDImeClana17[MAX_PLAYER_NAME],
	LSPDImaClana18,
	LSPDImeClana18[MAX_PLAYER_NAME],
	LSPDImaClana19,
	LSPDImeClana19[MAX_PLAYER_NAME],
	LSPDImaClana20,
	LSPDImeClana20[MAX_PLAYER_NAME],
	LSPDImaClana21,
	LSPDImeClana21[MAX_PLAYER_NAME],
	LSPDImaClana22,
	LSPDImeClana22[MAX_PLAYER_NAME],
	LSPDImaClana23,
	LSPDImeClana23[MAX_PLAYER_NAME],
	LSPDImaClana24,
	LSPDImeClana24[MAX_PLAYER_NAME],
}
new ClanoviInfo[MAX_CLANOVA][Clanovi];
/////////////////////////////////
////////////////////////////////////
forward UcitajClanove(id, name[], value[]);
public UcitajClanove(id, name[], value[])
{
    INI_Int("LSPDImaClana1", ClanoviInfo[id][LSPDImaClana1]);
    INI_String("LSPDImeClana1", ClanoviInfo[id][LSPDImeClana1],60);
    INI_Int("LSPDImaClana2", ClanoviInfo[id][LSPDImaClana2]);
    INI_String("LSPDImeClana2", ClanoviInfo[id][LSPDImeClana2],60);
    INI_Int("LSPDImaClana3", ClanoviInfo[id][LSPDImaClana3]);
    INI_String("LSPDImeClana3", ClanoviInfo[id][LSPDImeClana3],60);
    INI_Int("LSPDImaClana4", ClanoviInfo[id][LSPDImaClana4]);
    INI_String("LSPDImeClana4", ClanoviInfo[id][LSPDImeClana4],60);
    INI_Int("LSPDImaClana5", ClanoviInfo[id][LSPDImaClana5]);
    INI_String("LSPDImeClana5", ClanoviInfo[id][LSPDImeClana5],60);
    INI_Int("LSPDImaClana6", ClanoviInfo[id][LSPDImaClana6]);
    INI_String("LSPDImeClana6", ClanoviInfo[id][LSPDImeClana6],60);
    INI_Int("LSPDImaClana7", ClanoviInfo[id][LSPDImaClana7]);
    INI_String("LSPDImeClana7", ClanoviInfo[id][LSPDImeClana7],60);
    INI_Int("LSPDImaClana8", ClanoviInfo[id][LSPDImaClana8]);
    INI_String("LSPDImeClana8", ClanoviInfo[id][LSPDImeClana8],60);
    INI_Int("LSPDImaClana9", ClanoviInfo[id][LSPDImaClana9]);
    INI_String("LSPDImeClana9", ClanoviInfo[id][LSPDImeClana9],60);
    INI_Int("LSPDImaClana10", ClanoviInfo[id][LSPDImaClana10]);
    INI_String("LSPDImeClana10", ClanoviInfo[id][LSPDImeClana10],60);
    INI_Int("LSPDImaClana11", ClanoviInfo[id][LSPDImaClana11]);
    INI_String("LSPDImeClana11", ClanoviInfo[id][LSPDImeClana11],60);
    INI_Int("LSPDImaClana12", ClanoviInfo[id][LSPDImaClana12]);
    INI_String("LSPDImeClana12", ClanoviInfo[id][LSPDImeClana12],60);
    INI_Int("LSPDImaClana13", ClanoviInfo[id][LSPDImaClana13]);
    INI_String("LSPDImeClana13", ClanoviInfo[id][LSPDImeClana13],60);
    INI_Int("LSPDImaClana14", ClanoviInfo[id][LSPDImaClana14]);
    INI_String("LSPDImeClana14", ClanoviInfo[id][LSPDImeClana14],60);
    INI_Int("LSPDImaClana15", ClanoviInfo[id][LSPDImaClana15]);
    INI_String("LSPDImeClana15", ClanoviInfo[id][LSPDImeClana15],60);
    INI_Int("LSPDImaClana16", ClanoviInfo[id][LSPDImaClana16]);
    INI_String("LSPDImeClana16", ClanoviInfo[id][LSPDImeClana16],60);
    INI_Int("LSPDImaClana17", ClanoviInfo[id][LSPDImaClana17]);
    INI_String("LSPDImeClana17", ClanoviInfo[id][LSPDImeClana17],60);
    INI_Int("LSPDImaClana18", ClanoviInfo[id][LSPDImaClana18]);
    INI_String("LSPDImeClana18", ClanoviInfo[id][LSPDImeClana18],60);
    INI_Int("LSPDImaClana19", ClanoviInfo[id][LSPDImaClana19]);
    INI_String("LSPDImeClana19", ClanoviInfo[id][LSPDImeClana19],60);
    INI_Int("LSPDImaClana20", ClanoviInfo[id][LSPDImaClana20]);
    INI_String("LSPDImeClana20", ClanoviInfo[id][LSPDImeClana20],60);
    INI_Int("LSPDImaClana21", ClanoviInfo[id][LSPDImaClana21]);
    INI_String("LSPDImeClana21", ClanoviInfo[id][LSPDImeClana21],60);
    INI_Int("LSPDImaClana22", ClanoviInfo[id][LSPDImaClana22]);
    INI_String("LSPDImeClana22", ClanoviInfo[id][LSPDImeClana22],60);
    INI_Int("LSPDImaClana23", ClanoviInfo[id][LSPDImaClana23]);
    INI_String("LSPDImeClana23", ClanoviInfo[id][LSPDImeClana23],60);
    INI_Int("LSPDImaClana24", ClanoviInfo[id][LSPDImaClana24]);
    INI_String("LSPDImeClana24", ClanoviInfo[id][LSPDImeClana24],60);
    return 1;
}


Prilikom ubacivanja u organizaciju se u ini fajl u slot clana upisuje ime I prezime I na kom je slotu I prilikom izbacivanja se stavlja na 0 I pise "Niko
"

Probaj da pokreneš samp-server.exe preko run as administrator, taj fajl izbrisi iz foldera pa ce ga ponovo kreirat.

P.S Nemojte odgovarat na ovaj komentar ono kao "Šta je sa glavom?" , "Jesi Normalan šta je tebi", probaj to meni je to radilo.
-propo-

Resio sam na svoj nacin, hvala na pomoci ;)