What is this error?
#8

Quote:
Originally Posted by jlalt
Посмотреть сообщение
hittype == 2,
PHP код:
BULLET_HIT_TYPE_VEHICLE         2 
PHP код:
public OnPlayerWeaponShot(playeridweaponidhittypehitidFloat:fXFloat:fYFloat:fZ) {
...
    
// shots in players
    
if(hittype == BULLET_HIT_TYPE_PLAYER && hitid != INVALID_PLAYER_ID && paused[hitid] == false) {
        if(
health[playerid] <= 0) { return 0; }
        
// anti spawn kill damage
        
if(SpawnKill[hitid] == true) { return 0; } 
Thank you! +Rep
Reply


Messages In This Thread
What is this error? - by binnyl - 24.07.2018, 11:04
Re: What is this error? - by JasonRiggs - 24.07.2018, 11:15
Re: What is this error? - by jlalt - 24.07.2018, 11:20
Re: What is this error? - by JasonRiggs - 24.07.2018, 11:24
Re: What is this error? - by jlalt - 24.07.2018, 11:27
Re: What is this error? - by JasonRiggs - 24.07.2018, 11:30
Re: What is this error? - by jlalt - 24.07.2018, 11:34
Re: What is this error? - by binnyl - 28.07.2018, 21:37

Forum Jump:


Users browsing this thread: 2 Guest(s)