#3

public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[playerid][pInjured] = 1;
new name;
name = GetPlayerName(playerid);
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[i][pMember] == faction id of ems)
{
SendClientMessage(i, -1, " %s in wounded and in need of of a medic,to accept the call use /acceptcall[name]");
}
}
}
return 1;
}

and i got errors


D:\SAMP\xD\gamemodes\yes.pwn(71) : error 017: undefined symbol "PlayerInfo"
D:\SAMP\xD\gamemodes\yes.pwn(71) : warning 215: expression has no effect
D:\SAMP\xD\gamemodes\yes.pwn(71) : error 001: expected token: ";", but found "]"
D:\SAMP\xD\gamemodes\yes.pwn(71) : error 029: invalid expression, assumed zero
D:\SAMP\xD\gamemodes\yes.pwn(71) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Help - by Diti1 - 06.03.2014, 20:45
Re: Help - by XK - 06.03.2014, 20:59
Re: Help - by Diti1 - 07.03.2014, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)