[Ajuda] Crash SA-MP 0.3.7
#6

pawn Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) {
    if(hittype != BULLET_HIT_TYPE_NONE) { // Update 0.3.7
        if((fX <= -1000.0 || fX >= 1000.0) || (fY <= -1000.0 || fY >= 1000.0) || (fZ <= -1000.0 || fZ >= 1000.0) || ((hittype != BULLET_HIT_TYPE_PLAYER) && (hittype != BULLET_HIT_TYPE_VEHICLE) && (hittype != BULLET_HIT_TYPE_OBJECT) && (hittype != BULLET_HIT_TYPE_PLAYER_OBJECT))) {
            Kick(playerid);
            return 0;
        }
    }
    else {
        if (weaponid <= 0 || weaponid > 46) { Kick(playerid); return 0; }
    }
    return 1
}
Reply


Messages In This Thread
Crash SA-MP 0.3.7 - by MaykonStriker - 22.05.2015, 03:22
Re: Crash SA-MP 0.3.7 - by Locky_ - 22.05.2015, 09:38
Re: Crash SA-MP 0.3.7 - by JonathanFeitosa - 22.05.2015, 12:17
Respuesta: Crash SA-MP 0.3.7 - by [BWL]Chamaleon - 22.05.2015, 19:40
Re: Crash SA-MP 0.3.7 - by MaykonStriker - 22.05.2015, 19:54
Respuesta: Crash SA-MP 0.3.7 - by [BWL]Chamaleon - 22.05.2015, 22:10
Re: Respuesta: Crash SA-MP 0.3.7 - by RDM - 30.05.2015, 15:50
Re: Crash SA-MP 0.3.7 - by AzulimZW - 30.05.2015, 15:56
Re: Crash SA-MP 0.3.7 - by JonathanFeitosa - 30.05.2015, 16:07
Re: Crash SA-MP 0.3.7 - by RDM - 30.05.2015, 22:08

Forum Jump:


Users browsing this thread: 2 Guest(s)