[HELP] O que esta errado aqui?
#6

sei lб, tenta isto
pawn Код:
#include a_samp


new
    DonoGZ1[50], // Seu slots ou MAX_PLAYERS
    DonoGZ2[50], // Seu slots ou MAX_PLAYERS
    GZ1,
    GZ2
;
public
    OnPlayerSpawn(playerid)
{
    if(DonoGZ1[playerid] == 1) return GangZoneShowForPlayer(playerid, GZ1, 0x0000D391);
    if(DonoGZ1[playerid] == 2) return GangZoneShowForPlayer(playerid, GZ1, 0x0000D3B9);
    if(DonoGZ1[playerid] == 12) return GangZoneShowForPlayer(playerid, GZ1, 0x00FF00A8);
    if(DonoGZ1[playerid] == 13) return GangZoneShowForPlayer(playerid, GZ1, 0x0000FFBB);
    if(DonoGZ1[playerid] == 14) return GangZoneShowForPlayer(playerid, GZ1, 0x000000A4);
    if(DonoGZ1[playerid] == 15) return GangZoneShowForPlayer(playerid, GZ1, 0xFFE700A9);
    if(DonoGZ1[playerid] == 16) return GangZoneShowForPlayer(playerid, GZ1, 0x00000087);
    if(DonoGZ1[playerid] == 17) return GangZoneShowForPlayer(playerid, GZ1, 0x8900FFA4); //gz2
    if(DonoGZ2[playerid] == 0) return GangZoneShowForPlayer(playerid, GZ2, 0xC0C0C096);
    if(DonoGZ2[playerid] == 1) return GangZoneShowForPlayer(playerid, GZ2, 0x0000D391);
    if(DonoGZ2[playerid] == 2) return GangZoneShowForPlayer(playerid, GZ2, 0x0000D3B9);
    if(DonoGZ2[playerid] == 12) return GangZoneShowForPlayer(playerid, GZ2, 0x00FF00A8);
    if(DonoGZ2[playerid] == 13) return GangZoneShowForPlayer(playerid, GZ2, 0x0000FFBB);
    if(DonoGZ2[playerid] == 14) return GangZoneShowForPlayer(playerid, GZ2, 0x000000A4);
    if(DonoGZ2[playerid] == 15) return GangZoneShowForPlayer(playerid, GZ2, 0xFFE700A9);
    if(DonoGZ2[playerid] == 16) return GangZoneShowForPlayer(playerid, GZ2, 0x00000087);
    if(DonoGZ2[playerid] == 17) return GangZoneShowForPlayer(playerid, GZ2, 0x8900FFA4);
    return true;// й mesma coisa que return 1;
}
public
    OnGameModeInit()
{
    GZ1 = GangZoneCreate(2731.853, 1241.17, 2880.237, 1392.025); //ok
    GZ2 = GangZoneCreate(1337.822, 2564.049, 1486.206, 2672.355);//ok
    return true;
}
Reply


Messages In This Thread
[HELP] O que esta errado aqui? - by sergio_xd - 06.12.2010, 18:42
AW: [HELP] O que esta errado aqui? - by Xapita_Halls - 06.12.2010, 19:07
Re: AW: [HELP] O que esta errado aqui? - by sergio_xd - 06.12.2010, 19:11
Re: [HELP] O que esta errado aqui? - by Guizera - 06.12.2010, 19:28
Re: [HELP] O que esta errado aqui? - by sergio_xd - 06.12.2010, 20:00
Re: [HELP] O que esta errado aqui? - by zSuYaNw - 06.12.2010, 20:29

Forum Jump:


Users browsing this thread: 2 Guest(s)