- 0
Problema
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Anonimaxx
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.
6 answers to this question
Recommended Posts