[Include] Sniper - One Shot, One Kill | SA-MP 0.3d RC2 ONLY!
#10

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
This is more of a snippet then a include. All you need to do is tell them to add

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid)
{
    if(weaponid == 34) SetPlayerHealth(playerid, 0);
    return 1;
}
to their scripts. Anyway, it's a good idea.
when i use this i get this

C:\Users\Hellman\Desktop\PRototype Roleplay 3.0c R5\gamemodes\larp.pwn(3617) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)