17.06.2013, 14:44
(
Последний раз редактировалось -GooGle-; 17.06.2013 в 16:07.
)
pawn Код:
new VariavelORG[MAX_PLAYERS];
stock MudarCorORG(playerid){//use como base
if(VariavelORG[playerid] == 1) return SetPlayerColor(playerid, COR_DA_ORG1);
else if(VariavelORG[playerid] == 2) return SetPlayerColor(playerid, COR_DA_ORG2);
else if(VariavelORG[playerid] == 3) return SetPlayerColor(playerid, COR_DA_ORG3);
else if(VariavelORG[playerid] == 4) return SetPlayerColor(playerid, COR_DA_ORG4);
else if(VariavelORG[playerid] == 5) return SetPlayerColor(playerid, COR_DA_ORG5);
return 1;
}
MudarCorORG(playerid); //adcione isto em todos os sistema que muda org