Skip to content

Commit

Permalink
Merge pull request #672 from NermanLegacy/patch-1
Browse files Browse the repository at this point in the history
fix typo (tagetid > targetid)
  • Loading branch information
Y-Less committed Apr 24, 2024
2 parents 2ad7d3f + 6d2cc61 commit 740d7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions YSI_Visual/y_commands/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ More specifically, these are per-player commands, or dynamic commands. They all
SendClientMessage(playerid, COLOUR_GREETING, reply);
@return 1;
}
Command_AddCallback("r", tagetid, using inline SendReply);
Command_AddCallback("r", targetid, using inline SendReply);
return 1;
}
Expand All @@ -329,7 +329,7 @@ One problem with this version is that it will slowly run out of memory, because

```pawn
// Just in case, remove any old versions of `/r`:
Command_RemoveCallback("r", tagetid);
Command_RemoveCallback("r", targetid);
```

Notes:
Expand Down

0 comments on commit 740d7d2

Please sign in to comment.