mirror of
https://github.com/Resxt/Plutonium-IW5-Scripts.git
synced 2025-04-19 04:32:53 +00:00
chat_commands 1.2.2
Added TargetIsMyself util function
This commit is contained in:
parent
bf1ccc2c1f
commit
0c20175902
@ -306,6 +306,11 @@ DvarIsInitialized(dvarName)
|
||||
return result != "";
|
||||
}
|
||||
|
||||
TargetIsMyself(targetName)
|
||||
{
|
||||
return targetName == "me" || ToLower(targetName) == ToLower(self.name);
|
||||
}
|
||||
|
||||
AddElementToArray(array, element)
|
||||
{
|
||||
array[array.size] = element;
|
||||
|
Loading…
x
Reference in New Issue
Block a user