This is what's confusing me now.
Here's my code:
function serverCmdLocate(%client, %target)
{
if($Locator::Enable == false)
return messageClient("\c2ERROR: \c4Player Locator has been disabled.");
%target = findclientbyname(%target);
if(isObject(%target))
return messageClient(%client, '', "\c2ERROR: \c4Target has not spawned yet!");
if(%target.player.stealth == true && !%client.isSuperAdmin)
{
return messageClient(%client, '', "\c2ERROR: \c4Cannot find selected target. Target might have stealth.");
}
messageClient(%client, '', "\c4Locator has now been set to target \c2"@%target.name@"\c4.");
Location_HUD(%client, %target);
}
I type /locate E (For EV0_), but then it says "\c2ERROR: \c4Target has not spawned yet!", and I sure have!