- 0
Problema
-
Similar Content
-
- 1 reply
- 113 views
-
- 2 answers
- 931 views
-
Problema turf
By Soryn.,
- 3 answers
- 480 views
-
- 0 replies
- 207 views
-
- 2 replies
- 398 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Link to comment
Share on other sites
6 answers to this question
Recommended Posts