Kill register
#1

Hello, need a little help or more like 'ideas'.
so i'm using this nevada bomber script: https://sampforum.blast.hk/showthread.php?tid=335514
is there a way to actually get a kill like score n deathlog etc when you kill someone using the bomber?
i tried doing the following

PHP Code:
//under the command
        
GetPointZPos(XYZ);
        
MoveObject(bomb[playerid],X,Y,Z,100.0,A,0.0,0.0);
        
CreateExplosion(X,Y,Z,10,20.0);
        new 
Float:xFloat:yFloat:z;
        for(new 
ii<MAX_PLAYERSi++)
        {
        if(
IsPlayerInRangeOfPoint(i5.0xyz))
        {
        
bomberid=playerid;
        
targetedplayer[i]=1;
        }
        }
// under OnPlayerTakeDamage
if(targetedplayer[playerid]==&& issuerid == INVALID_PLAYER_ID)
    {
     
issuerid=bomberid;
    } 
Reply


Messages In This Thread
Kill register - by SaiyanZ - 27.03.2019, 14:00
Re: Kill register - by introzen - 27.03.2019, 14:30

Forum Jump:


Users browsing this thread: 1 Guest(s)