Ayuda :)
#4

lo q necesitas no es un ejemplo, vos queres un codigo q es diferente, y va en pedidos, aun asi:

pawn Код:
forward CzRulez(playerid);
forward MrDRulez(playerid);

if(!strcmp(cmd, "/heal", true)){
    new tmp[256];
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp) || !IsNumeric(tmp))return SendClientMessage(playerid, 0xFFFFFFFF, "Uso: /heal <playerid>");
    new id = strval(tmp);
    if(IsPlayerConnected(id)){
        SetPlayerHealth(playerid, 100);
        SetTimerEx("CzRulez", 1000, false, "i", playerid);
        return SetTimerEx("MrDRulez", 1000, false, "i", id);
    }return SendClientMessage(playerid, 0xFF0000FF, "ERROR: El jugador no se encuentra conectado");
    return 1;
}

public CzRulez(playerid)
{
    //acciуn
}

public MrDRulez(playerid)
{
    //acciуn
}
Reply


Messages In This Thread
Ayuda :) - by arturo clark - 13.03.2011, 01:29
Respuesta: Ayuda :) - by TheChaoz - 13.03.2011, 03:04
Re: Ayuda :) - by arturo clark - 13.03.2011, 03:18
Respuesta: Ayuda :) - by TheChaoz - 13.03.2011, 03:24
Re: Ayuda :) - by arturo clark - 13.03.2011, 03:41
Re: Ayuda :) - by [L3th4l] - 13.03.2011, 05:27
Respuesta: Ayuda :) - by TheChaoz - 13.03.2011, 16:38

Forum Jump:


Users browsing this thread: 1 Guest(s)