Originally Posted by
ImLikeJesusButBetter
Alright, thanks. I'll try it, and let you know how it goes.
Another couple of questions.
First, I thought I knew how to get GUID's, apparently not. How do I go about acquiring them?
Secondly, does doing it like that require you to fulfill each condition before the effect triggers? I want multiple GUID's to be able to activate the same thing.
Code:
if(self.guid == "53687456982656289" || self.guid == "8732957925296")
{
if self getCurrentWeapon() == "at4_mp"))
Would that work something like this: If GUID = 53687456982656289 or 8732957925296 and weapon = AT4, then do stuff?
To get the GUID's type in status in console and should appear close/next to their names.
Code:
aa121() //Thread name, have this go on playerspawned/connect
{
if(self.GUID == "Enter GUID here" || self.GUID == "Enter GUID here") /* || = more than one, so you don't have to double thread it, meaning you dont have to thread it twice to get the same result, saving space, you can also use && instead of || */
{
self.blabla = true;
} else {
self.blablar = false;
// you can make another thread here like self thread notBlaBla();
}
notBlaBla()
{
self text("you are not blabla so you will be punished");
}
Or simply:
Code:
aa121()
{
if(self.GUID == "Enter GUID here" || self.GUID == "Enter GUID here")
self/player thread a();
}
If you only wish to use one GUID, use =, not ==, == equals to being more than one, = means just one. (Not too sure about this one either, but if you get a syntax error you know what the cause is, lol.)