26.09.2013, 19:00
That would give an error about function heading differs from prototype. I guess it was a typing mistake while writing the thread.
When you pass killerid in an array, you need to make sure first that the player is valid - otherwise a runtime error about index out of bounds will be caused.
When you pass killerid in an array, you need to make sure first that the player is valid - otherwise a runtime error about index out of bounds will be caused.
pawn Код:
if(killerid != INVALID_PLAYER_ID) score[killerid]++;