[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
#2

O parвmetro bodypart foi adicionado na versгo 0.3z. Se sua versгo for mais antiga, nгo funcionarб.
Reply
#3

Quote:
Originally Posted by zPain
Посмотреть сообщение
O parвmetro bodypart foi adicionado na versгo 0.3z. Se sua versгo for mais antiga, nгo funcionarб.
como posso achar a versгo mais nova ?
Reply
#4

http://sa-mp.com/download.php
Reply
#5

Quote:
Originally Posted by zPain
Посмотреть сообщение
quando eu baixo o samp037_svr_R2-1-1_win32.zip n~зao vem com as includes
Reply
#6

pawno/include
Reply
#7

Quote:
Originally Posted by 99fe3rnando
Посмотреть сообщение
pawno/include
n vem a include q precisa '-'
Reply
#8

Quote:
Originally Posted by zPawnu
Посмотреть сообщение
n vem a include q precisa '-'
http://www.mediafire.com/download/y3...02/include.zip
Reply
#9

Quote:
Originally Posted by 99fe3rnando
Посмотреть сообщение
obrigado consegui porem o sistema nгo funciona
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)