SA-MP 0.3d bug?
#1

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
Reply
#2

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.
Reply
#3

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
Reply
#4

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.
Reply
#5

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
Reply
#6

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...
Reply
#7

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.)
Reply
#8

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
Reply
#9

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.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)