06.06.2012, 01:40
(
Последний раз редактировалось sanalex; 08.06.2012 в 05:15.
)
!!!
stock S_COMPARAR_ID(playerid)
{
new L_N[MAX_PLAYER_NAME]; GetPlayerName(playerid, L_N, MAX_PLAYER_NAME);
new L_FILE_1[128], L_FILE_2[128];
format(L_FILE_1, 128, "GANGS/Jogadores/%s.ini", L_N);
format(L_FILE_2, 128, "GANGS/TodasAsGangs/%s.ini", L_N);
if(DOF2_GetInt(L_FILE_1, "ID") == DOF2_GetInt(L_FILE_2, "ID")) return 1;
return 0;
}
new a[20];
format(a,sizeof a,"GANGS/Jogadores/%s.ini",pName(playerid));
if(playerid == DOF2_GetInt(a,"id")){
SCM(..."id igual");
}
else return SCM(..."id diferente");