[Ajuda] /roubar
#3

pawn Код:
GangMembersInPoint(playerid, Float:VBRaio, Float:VBX, Float:VBY, Float:VBZ)
{
    new Cont;
    for(new i, j = GetMaxPlayers(); i != j; i++)
        if(IsPlayerConnected(i))
            if(IsPlayerInRangeOfPoint(i, VBRaio, VBX, VBY, VBZ))
                if(Gang[playerid] == Gang[i]) // Adapte
                    Count++;    

    return Count;// Nъmero de pessoas da mesma gang no mesmo local
}
pawn Код:
if(GangMembersInPoint(playerid, Raio, X, Y, Z) < 3)
    return SendClientMessage(playerid,-1,"Trкs membros da gang sгo necessбrios.");
Reply


Messages In This Thread
[Ajuda] /roubar - by Hydra_RuleZ - 22.04.2012, 23:14
Re: [Ajuda] /roubar - by kinhobryant - 22.04.2012, 23:17
Re: [Ajuda] /roubar - by ViniBorn - 22.04.2012, 23:33
Re: [Ajuda] /roubar - by Hydra_RuleZ - 23.04.2012, 06:49
Re: [Ajuda] /roubar - by Jason` - 23.04.2012, 07:20
Re: [Ajuda] /roubar - by Ricop522 - 23.04.2012, 11:44
Re: [Ajuda] /roubar - by Hydra_RuleZ - 23.04.2012, 16:57
Re: [Ajuda] /roubar - by ViniBorn - 23.04.2012, 17:01
Re: [Ajuda] /roubar - by Hydra_RuleZ - 23.04.2012, 17:13
Re: [Ajuda] /roubar - by ViniBorn - 23.04.2012, 17:15

Forum Jump:


Users browsing this thread: