SA-MP Forums Archive
SA-MP 0.3d bug? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: SA-MP 0.3d bug? (/showthread.php?tid=288018)



SA-MP 0.3d bug? - EduGTA - 05.10.2011

Bueno, mientras estaba aburrido, estaba testeando un FS que blockea unos skins (creado por mi) y mediante el testeo, hice un cуdigo errуneo que me dio un par de bugs extraсos


SE QUE EL CУDIGO ESTБ MAL, PERO SI NO ME CREEN, AHН TIENEN EL CУDIGO!

pawn Код:
#include <a_samp>
#include zcmd
new playerskin;
new bool:EsVIP[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    EsVIP[playerid] = false;
}

public OnPlayerSpawn(playerid)
{
    playerskin = GetPlayerSkin(playerid);
   
    if(playerskin == 107)
    if(EsVIP[playerid])
    {
        return 1;
    }
    SetPlayerHealth(playerid, 0.0);
    ForceClassSelection(playerid);
    return 1;
}

CMD:soyvip(playerid, params[])
{
    EsVIP[playerid] = true;
}
Me diу tiempo de hacer un video:

[ame]http://www.youtube.com/watch?v=e2215D4Fhlc[/ame]

El problema es el siguiente: Si muero 2 veces por culpa de el codigo, aparecerб una cerveza volando en el lugar del spawn, PLUS, si escribes el comando /soyvip, aparecerб un cigarrillo tambiйn.

lol



Re: SA-MP 0.3d bug? - GrimR - 05.10.2011

Usted estб obligando a la selecciуn de clase, no importa lo que cuando un jugador genera. Por supuesto que continuamente se hace esto.

NOTE: I used ****** Translate, I don't actually know Spanish etc :P.


Re: SA-MP 0.3d bug? - EduGTA - 05.10.2011

Quote:
Originally Posted by GrimR
Посмотреть сообщение
Usted estб obligando a la selecciуn de clase, no importa lo que cuando un jugador genera. Por supuesto que continuamente se hace esto.

NOTE: I used ****** Translate, I don't actually know Spanish etc :P.
English: Yeah, i know that, but that's not the problem, if you see the video, you can see a beer and a cigarete floating from nowhere :S

Espaсol: Si, ya se so, pero ese no es el problema, si miras el video, puedes ver una cerveza y un cigarro flotando de la nada :S



Re: SA-MP 0.3d bug? - GrimR - 05.10.2011

English:

Aha I see, I think that's actually a problem in 0.3c too, I have seen this more than once on role play servers I have played on and even on one I am creating (when I set off a heap of explosions).

I don't think anyone knows why it happens.


Respuesta: SA-MP 0.3d bug? - OPremium - 06.10.2011

A mi tambien me pasa algunas veces en mi servidor, solo que ademas del cigarro o la cerveza, aparezco afuera de la casa de CJ


Re: Respuesta: SA-MP 0.3d bug? - EduGTA - 06.10.2011

Quote:
Originally Posted by GrimR
Посмотреть сообщение
English:

Aha I see, I think that's actually a problem in 0.3c too, I have seen this more than once on role play servers I have played on and even on one I am creating (when I set off a heap of explosions).

I don't think anyone knows why it happens.
So, is since 0.3c? lol

Quote:
Originally Posted by OPremium
Посмотреть сообщение
A mi tambien me pasa algunas veces en mi servidor, solo que ademas del cigarro o la cerveza, aparezco afuera de la casa de CJ
Afuera de la casa de CJ? que raro...



Re: SA-MP 0.3d bug? - GrimR - 06.10.2011

Pudo haber sido desde antes de 0.3c R3, pero eso es cuando me involucrй con SA: MP, asн que no sй nada mбs temprano.

Es probable que solo una falla causada por el retraso (que pasa si sigue muriendo rбpidamente, las explosiones partiу rбpidamente, etc.)


Respuesta: SA-MP 0.3d bug? - TheChaoz - 06.10.2011

este bug esta desde la 0.2.2X si no antes (yo juego desde esa version y desde dicho momento esta ese bug) alguien que este desde antes podria decirnos si esta desde antes


Respuesta: Re: SA-MP 0.3d bug? - Bluemmanuel - 06.10.2011

Quote:
Originally Posted by GrimR
Посмотреть сообщение
English:

Aha I see, I think that's actually a problem in 0.3c too, I have seen this more than once on role play servers I have played on and even on one I am creating (when I set off a heap of explosions).

I don't think anyone knows why it happens.
English:

This section of the forum is ONLY in Spanish. Use the translator as the first time for many of them / us to read.

PS: If you want to put the text in English is also valid. Respect our section of the forum as yours respecting your language.


Espaсol:

Este apartado del foro es SOLO en espaсol. Utiliza el traductor como la primera vez para que muchos puedan/podamos leerla.

PD: Si quieres colocar el texto en ingles tambiйn es valido. Respeta nuestro apartado del foro como se respeta el tuyo con tu idioma.


Re: SA-MP 0.3d bug? - ZeQualX - 06.10.2011

Esto no es nuevo lol de hecho esto es viejisimo asi que no tiene nada que ver con la 0.3d -.-