achievements.IncGoodies

From GMod Wiki

Jump to: navigation, search
Function
Syntax achievements.IncGoodies( )
Where is this used?
Description:
Tells the client that goodie (friendly NPC) has been killed.
Returns: Number Achievements
Part of Library: Achiv
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Achievements.IncGoodies]Achievements.IncGoodies [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]


Examples

DescriptionUnlocks the "Bad Friend" achievement.
Used onNewerClient.png
Code
for i = 1,1000 do achievements.IncGoodies() end
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox