08.11.2009, 14:26
This is under OnPlayerDeath
I get these errors:
pawn Код:
if(gTeam[playerid] == gTeam[killerid])
{
new float:x,float:y,float:z;
GetPlayerPos(killerid,x,y,z);//Line 328
SetPlayerPos(killerid,x,y,z+15);
SetPlayerHealth(killerid,0);
GameTextForPlayer(killerid,"Do Not Team-Kill!",4500,0);
GameTextForPlayer(playerid,"Sorry for Team-Killing you!",4500,0);
Код:
C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(328) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(328) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(328) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(329) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(329) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(329) : warning 213: tag mismatch C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(430) : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerTeam" C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(430) : warning 215: expression has no effect C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(430) : error 001: expected token: ";", but found "]" C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(430) : error 029: invalid expression, assumed zero C:\DOCUME~1\mani\Desktop\Server\GAMEMO~1\Armed.pwn(430) : fatal error 107: too many error messages on one line