13.11.2011, 02:45
Here are some errors with the script
1. MAX_PLAYERS is case sensitive so max_players will return a unknown error.
2. max_playerp_name isn't a defined variable and max_player_name needs to be capitalized to be a defined variable.
3. There is no value assigned to name1 or name2
4.
Who has ended who's killstreak? If the person wasn't on a killstreak, it would still show.
5. OnPlayerDisConnect should be OnPlayerDisconnect, remember the case.
You should explain the tutorial better, what does each function do?
1. MAX_PLAYERS is case sensitive so max_players will return a unknown error.
2. max_playerp_name isn't a defined variable and max_player_name needs to be capitalized to be a defined variable.
3. There is no value assigned to name1 or name2
4.
pawn Code:
format(msg1, strlen(msg1), "%s has ended his killstreak", name1);
5. OnPlayerDisConnect should be OnPlayerDisconnect, remember the case.
You should explain the tutorial better, what does each function do?