13.03.2015, 21:40
PHP код:
#include a_samp
forward FuncaoGangZone(playerid, TypeOrg, NameGZ[]);
public FuncaoGangZone(playerid, TypeOrg, NameGZ[]){
for (new i; i < MAX_PLAYERS; i++){
if(TypeOrg == 1){
// Org 01
}
else if(TypeOrg == 2){
// Org 02
}
else if(TypeOrg == 2){
// Org 03
}
}
return 1;
}
FuncaoGangZone(playerid, GetPlayerOrg(playerid), "Nome da GZ"); //Na hora que chama a funзгo