1,482
edits
m (Correct Parameter Name (asKeyword --> s)) |
m (Convert source tags to syntaxhighlight) |
||
| Line 7: | Line 7: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function HasKeywordString(string s) native | bool Function HasKeywordString(string s) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 18: | Line 18: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
if (PotionProperty.HasKeywordString("vendoritemfood")) | if (PotionProperty.HasKeywordString("vendoritemfood")) | ||
Debug.Notification("This is food.") | Debug.Notification("This is food.") | ||
| Line 26: | Line 26: | ||
Debug.Notification("This is a potion.") | Debug.Notification("This is a potion.") | ||
endif | endif | ||
</ | </syntaxhighlight> | ||
== Note == | == Note == | ||