Quote:
Originally Posted by xXziroXx
Isnt it only called in the Control-NPC?
|
PHP Code:
function onPlayerLogin(temp.plyr)
{
}
would work in any database npc.. and even in weapons/scripts. (clientsided aswell)
ex:
PHP Code:
function onPlayerLogin(temp.plyr)
{
if (temp.plyr != NULL)
{
player.chat = format("%s has logged on!", temp.plyr); // I think?
}
}