Hey kann mir wer sagen wie ich das rauskriege:
public SearchingHit(playerid)
{
new string[256];
new giveplayer[MAX_PLAYER_NAME];
new searchhit = 0;
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(searchhit == 0)
{
if(PlayerInfo[i][pHeadValue] > 0 && GotHit[i] == 0 && PlayerInfo[i][pMember] != 8)
{
GetPlayerName(i, giveplayer, sizeof(giveplayer));
searchhit = 1;
hitfound = 1;
hitid = i;
for(new k=0; k<MAX_PLAYERS; k++)
{
if(IsPlayerConnected(k))
Wenn ich das rausnheme kommt:
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1659) : error 055: start of function body without function header
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1661) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1672) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1677) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(1681) : error 010: invalid function or declaration
C:\Users\PC\Desktop\GTARP\gamemodes\gtarp.pwn(41548) : error 004: function "SearchingHit" is not implemented
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.