Global/Add NPC Class
From Garry's Mod
(Difference between revisions)
(Created page with "{{Function | Name = Add_NPC_Class | Namespace = Global | Realm = Shared }} {{Syntax | Name = Add_NPC_Class | Description = You can use this function to add your own...") |
|||
Line 7: | Line 7: | ||
| Name = Add_NPC_Class | | Name = Add_NPC_Class | ||
− | | Description = | + | | Description = Creates a CLASS_ Enum and assigns it as a global variable with a automatic value so as to prevent collisions with other scripts. |
− | + | ||
| Arg1Name = name | | Arg1Name = name | ||
− | | Arg1Type = | + | | Arg1Type = string |
| Arg1Req = true | | Arg1Req = true | ||
− | | Arg1Desc = | + | | Arg1Desc = The name of the ENUM/new global variable. |
}} | }} |