[Ajuda] erro sistema de hs
#1

olб poderiam me ajudar nesse erro

PHP код:
C:\Users\Jefferson\Desktop\ProjectZ\pro.pwn(1317) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

linha::
PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart
completo

PHP код:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    if(
issuerid != INVALID_PLAYER_ID && (weaponid == 34 || weaponid == 33) && bodypart == 9)
    {
         
SetPlayerHealth(playerid0.0);
         new 
stringa[MAX_PLAYER_NAME+40];
         new 
name[MAX_PLAYER_NAME];
         
GetPlayerName(playeridnamesizeof(name));
         
format(stringasizeof(stringa), "[ ! ]:[%s] He was killed by a shot to the head"name);
         
SendClientMessageToAll(0xFFFF00FF,stringa);
    }
    return 
1;

Reply


Messages In This Thread
erro sistema de hs - by zPawnu - 13.09.2015, 00:03
Re: erro sistema de hs - by zPain - 13.09.2015, 00:27
Re: erro sistema de hs - by zPawnu - 13.09.2015, 00:30
Re: erro sistema de hs - by zPain - 13.09.2015, 00:39
Re: erro sistema de hs - by zPawnu - 13.09.2015, 00:42
Re: erro sistema de hs - by 99fe3rnando - 13.09.2015, 01:07
Re: erro sistema de hs - by zPawnu - 13.09.2015, 01:14
Re: erro sistema de hs - by 99fe3rnando - 13.09.2015, 01:23
Re: erro sistema de hs - by zPawnu - 13.09.2015, 22:45

Forum Jump:


Users browsing this thread: 1 Guest(s)