Jump to content

Question

Posted

Problema intalnita (descriere):   C:\Users\Gabi\Desktop\virtual\gamemodes\vx-rp.pwn(38165) : error 025: function heading differs from prototype
Ero(area / rile) / warning-(ul / urile): Eroarea  Error : 025
Liniile de cod / sursa / script-ul(obligatoriu):  (38165) L-am luat dupa net. 

public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
    new string[128], victim[MAX_PLAYER_NAME], attacker[MAX_PLAYER_NAME];
    new weaponname[24];
    GetPlayerName(playerid, attacker, sizeof (attacker));
    GetPlayerName(damagedid, victim, sizeof (victim));

    GetWeaponName(weaponid, weaponname, sizeof (weaponname));
    foreach(Player, z)
    {
    	if(playerVariables[z][pSpectating] == playerid)
    	{
    		format(string, sizeof(string), "%s has made %.0f damage to %s, weapon: %s", attacker, amount, victim, weaponname);
    		SendClientMessage(z,COLOR_RED, string);
    	}
	}
    return 1;
}


Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Normal si n-am reusit.

Pawn.png

6 answers to this question

Recommended Posts

  • 0
Posted
1 minute ago, Adrian_Petre said:

Nu downloadezi,ca numa la asta sunteti buni.

Te uiti ce a facut baiatul mai jos.

 

Si crezi ca inteleg cu a facut ? L-am vazut odata la fel Si mi-a dat alte erori de alt ceva pentru ca am gresit ce am facut :| 

  • -1
Posted

Nu downloadezi,ca numa la asta sunteti buni.

Te uiti ce a facut baiatul mai jos.

 

 

 

  • -1
Posted

PAI CASCA IN ... OCHII ACOLO CA E SCRIS CE A FACUT SI CE TREBUIE SA MODIFICI ACOLO.

 

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.