[Ayuda] Con este codigo
#4

deberia de andar
pawn Код:
if(strcmp("/Atraco", cmdtext, true, 10) == 0)
{
    if(GetPlayerWeapon(playerid) >= 24) {
        if(IsPlayerInRangeOfPoint(playerid,10,1033.1263,-1890.8000,3478.2932)) {
            new total;
            for(new i=0,j=GetMaxPlayers(); i < j; i++) {
                if(IsPlayerConnected(i) && IsPlayerInRangeOfPoint(i,10,1033.1263,-1890.8000,3478.2932)) {
                    total++;
                }
            }
            if(total >= Personas_Requeridas) {
                SendClientMessage(playerid, Rojo, "* Estais Atracando!");
            }
            else {
                SendClientMessage(playerid, Rojo, "Se necesitan dos personas para poder atracar.");
            }
        }
        else {
            SendClientMessage(playerid, Rojo, "No estas en el banco.");
        }
    }
    else {
        SendClientMessage(playerid, Rojo, "Necesitas un arma");
    }
    return 1;
}
Reply


Messages In This Thread
[Ayuda] Con este codigo - by Jose_grana - 25.06.2012, 16:36
Re: [Ayuda] Con este codigo - by Bu11Sh0t - 25.06.2012, 18:55
Respuesta: [Ayuda] Con este codigo - by Jose_grana - 25.06.2012, 19:40
Re: [Ayuda] Con este codigo - by Daniel-92 - 25.06.2012, 20:49

Forum Jump:


Users browsing this thread: 2 Guest(s)