Crear una explosiуn con intervalos de segundos.
#4

Quote:
Originally Posted by JustBored
Посмотреть сообщение
Lo hiciste mal Zume serнa asн:
pawn Код:
if(strcmp(cmdtext, "/bum", true) == 0)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateExplosion(x, y, z, 12, 9.0);
    SetTimerEx("SegundaExplosion", 2000, 0, "fff", x,y,z);
    return 1;
}
   
forward SegundaExplosion(Float:x,Float:y,Float:z);
public SegundaExplosion(Float:x,Float:y,Float:z)
{
    CreateExplosion(x+5, y, z, 12, 13.0);
    SetTimerEx("TerceraExplosion", 1000, 0, "fff", x,y,z);
    return 1;
}

forward TerceraExplosionFloat:x,Float:y,Float:z);
public TerceraExplosion(Float:x,Float:y,Float:z)
{
    CreateExplosion(x+10, y, z, 12, 26.0);
    return 1;
}
LOL Se me pasaron los demбs argumentos de la callback xDD mil disculpas, gracias.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)