I need help calling the right array for time!
Posted: Wed Aug 27, 2003 10:16 pm
I am trying to write this lil script to welcome players to the server as they join.
However I am stumped for the array for getting the time for the player. Or perhaps, I have a error someplace else. See if you can pick it up.
However I am stumped for the array for getting the time for the player. Or perhaps, I have a error someplace else. See if you can pick it up.
Help a brother out!playergreet:
for(local.p = 1; local.p < $player.size + 1; local.p++)
{
if($player[local.p].health == 0 && $player[local.p].dmteam == "spectator" && $player[local.p].time < 15)
{
$player[local.p] iprint "*******************************************"
$player[local.p] iprint "Welcome To <[OneX]> Sniper Alliance Server!"
$player[local.p] iprint "*******************************************"
wait 5
$player[local.p] iprint "AS I WALK THROUGH THE VALLEY OF THE SHADOW OF DEATH"
$player[local.p] iprint " I SHALL FEAR NO EVIL, FOR I AM <[OneX]>"
$player[local.p] iprint " God Bless The USA"
}
else
{
}
}
wait (10)
goto playergreet
end