Plugin or public such as "OnPlayerFullyConnect"
#1

Is there something named OnPlayerFullyConnect, such as:
PHP Code:
public OnPlayerFullyConnect(playerid)
{
    for(new 
020i++)
    {
          
SendClientMessage(playerid, -1"");
     }
     return 
1;

If you didn't understand my point:

Affter player connected,
there comes a text saying "Connected to: **HOSTNAME**", And sometimes it delays, So if I use the code above in onplayerconnect, it wont clear the chat fully.
Is it possible to fix that? How?
Reply
#2

Nope, the Hostname message is handled by the client as far as I knows, I bet you have to live with it - or set a timer could work?
Reply
#3

Is there something like OnPlayerReceiveText then?
Reply
#4

The server is not the one sending the message.

The client itself informs you that it's "connecting" and that it has "connected" - A function in your script wouldn't recognize it.
Therefore it's impossible to avoid.
Reply
#5

Okay, so I'm using a timer with a Loading screen looking like this: http://imgur.com/GA2q4xe
(This is not advertising since the server isn't open.)
Here's the textdraws for anyone who want: http://pastebin.com/dSxPL80w

Warning: Might not fit every screen, To fix this, Edit the width and length. Thanks denorske.
- Repped.
Reply
#6

You could clear the text at
PHP Code:
public onPlayerClassRequest 
.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)