[Ajuda] error 025: function heading differs from prototype 'ъnico erro'
#7

Quote:
Originally Posted by NemesisBR
View Post
Bom, mais uma vez estou tendo um erro chatinho, o erro й o seguinte:

HTML Code:
error 025: function heading differs from prototype
o cуdigo, a linha com o erro б a primeira:

PHP Code:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponidbodypart)
{
    if(
issuerid != INVALID_PLAYER_ID)
    {
    new 
string[20];
    
format(stringsizeof(string), "~s~-~r~%.0f"amount);
    
GameTextForPlayer(playeridstring10006);
    
GameTextForPlayer(issuerid string10005);
    
PlayerPlaySound(issuerid 178020.00.00.0); 
Bom, jб segui milhхes de tutoriais na net, jб instalei vбrios YSI e nenhum funcionou, continuando do mesmo jeito.
PHP Code:
public OnPlayerTakeDamage(playeridissueridFloatamountweaponid)
{
    if(
issuerid != INVALID_PLAYER_ID)
    {
    new 
string[20];
    
format(stringsizeof(string), "~s~-~r~%.0f"amount);
    
GameTextForPlayer(playeridstring10006);
    
GameTextForPlayer(issuerid string10005);
    
PlayerPlaySound(issuerid 178020.00.00.0); 
Tente!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)