Any other include than OnPlayerShootPlayer
#1

Just like the titles says.
Is there any include which is simular to OnPlayerShootPlayer?
Just to detect who is the shooter.
Reply
#2

hm maybe no
Reply
#3

Doesnt the include by Wups do that?

Quote:
Originally Posted by wups
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    new msg[128],name1[24],name2[24];
    GetPlayerName(Shooter,name1,24);
    GetPlayerName(Target,name2,24);
    format(msg,sizeof(msg)," * %s Shot %s(Dmg: %f HP and %f Armour)!",name1,name2,HealthLost,ArmourLost);
    SendClientMessageToAll(0xFFFFFFFF,msg);
    return 1;
}
public OnPlayerShootPlayer(Shooter, Target, Float:HealthLost, Float:ArmourLost)
Reply
#4

There are 3 or 4 OnPlayerShootPlayer includes, made by different persons
Reply
#5

Quote:
Originally Posted by [GF]Sasino97
Посмотреть сообщение
There are 3 or 4 OnPlayerShootPlayer includes, made by different persons
True, but the one by wups is the best one to use.
Reply
#6

Quote:
Originally Posted by G4M3Ov3r
Посмотреть сообщение
True, but the one by wups is the best one to use.
Yes, of course, because it's the Original, and the first made.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)