Liberty Unleashed
Scripting => Script Help => Topic started by: CANYON on August 24, 2012, 07:57:17 am
-
Double message connect/disconnect , I do not know where the second, it isn't present in a script. What to do?
-
Sure its somewhere in your script..
Please post relevant code from connect and disconnect events.
-
Sure its somewhere in your script..
Please post relevant code from connect and disconnect events.
function onPlayerJoin( pPlayer )
{
Message( pPlayer.Name + " has joined.", Colour( 139, 255, 178 ) );
return 0;
}
function onPlayerPart( pPlayer, reason )
{
switch(reason)
{
case PARTREASON_DISCONNECTED:
Message( pPlayer.Name + " has disconnected (Reason: Quit)", Colour( 255, 124, 124 ) );
break;
case PARTREASON_BANNED:
Message( pPlayer.Name + " has disconnected (Reason: Ban)", Colour( 255, 124, 124 ) );
break;
case PARTREASON_KICKED:
Message( pPlayer.Name + " has disconnected (Reason: Kick)", Colour( 255, 124, 124 ) );
break;
default:
Message( pPlayer.Name + " has disconnected (Reason: Crash)", Colour( 255, 124, 124 ) );
break;
}
return 0;
}
-
Actually same thing happens when player spawns. It shouts more than 10 times that player spawned, i think its a bug. ???
-
That problem was with me but in the Free view Script ;
I have fixed it by opening the content.xml
u may find that u have put the script 2 times :o that the problem i think ::)
-
Not for me.
-
I not absolutely understand that you mean. :)
(http://i004.radikal.ru/1208/ea/08fc0a2e1a2c.jpg)
yellow messages not my
red and green my
-
I not absolutely understand that you mean. :)
([url]http://i004.radikal.ru/1208/ea/08fc0a2e1a2c.jpg[/url])
yellow messages not my
red and green my
Not really, ex:
When i keep pressing spawn button (ctrl) for 2-3 seconds in console it prints "Rocky spawned" x 10 times, sometimes more.