27.02.2013, 15:43
Use um loop for
Retornando o valor da variavel x da determinada Org
Exemplo bY SchocC:
This forum requires that you wait 120 seconds between posts. Please try again in 81 seconds.
Retornando o valor da variavel x da determinada Org
Exemplo bY SchocC:
pawn Код:
enum e_dat
{
e_orgid
};
new pinfo[ 10 ][ e_dat ];
forward GetTotalOrg(playerid ,orgid );
public GetTotalOrg( playerid, orgid )
{
for(new i; i != /*MAX_ORG*/40; ++i )
if( pinfo[ i ][ e_orgid ] == pinfo[ playerid ][ e_orgid ] )
{
return orgid ;
}
return false;
}
This forum requires that you wait 120 seconds between posts. Please try again in 81 seconds.