Please try to explain a bit more and use [php][/php] to format your code:
PHP Code:
welcome()
{
self endon("disconnect");
if (isdefined(self.welcome))
return;
self.welcome = true;
self.sendtime = gettime();
self playlocalsound("playerspawn");
}