31.05.2012, 18:49
So the server is going pretty well but when it comes to creating a team kill detector, it creates a problem, anyone mind telling me how to detect teamkilling in this case?
Thanks, I will +REP to someone who gives a valid answer.
It returns this error:
Thanks, I will +REP to someone who gives a valid answer.
Код:
//under OnPlayerDeath if GetPlayerTeam(playerid) == GetPlayerTeam(killerid) *then { ResetPlayerWeapons(killerid); SendClientMessage(killerid, COLOR_NEWS, "Your weapons have been taken away due to teamkilling."); } } return 1; }
Код:
(1018) : error 010: invalid function or declaration