connect and exit command?
#1

i want to know how to make a command that when a player connects it says "playerid just connected"
and "playerid just disconnected" but whenever i do this:

public OnPlayerConnect(playerid)
{
SendClientMessageToAll(0xFFFFFFFF, "playerid just connected!!!");
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
SendClientMessageToAll(0xFFFFFFFF, "playerid just disconnected!!!");
return 1;
}

it says "playerid" not there acctual id!!!
please help
Reply


Messages In This Thread
connect and exit command? - by Demon4511 - 24.08.2013, 06:33
Re: connect and exit command? - by Tuntun - 24.08.2013, 06:37
Re: connect and exit command? - by Giroud12 - 24.08.2013, 06:48
Re: connect and exit command? - by Demon4511 - 24.08.2013, 06:56
Re: connect and exit command? - by Giroud12 - 24.08.2013, 07:02
Re: connect and exit command? - by Demon4511 - 24.08.2013, 07:09
Re: connect and exit command? - by Giroud12 - 24.08.2013, 07:14
Re: connect and exit command? - by Demon4511 - 24.08.2013, 07:23
Re: connect and exit command? - by Demon4511 - 24.08.2013, 07:25
Re: connect and exit command? - by Giroud12 - 24.08.2013, 07:26

Forum Jump:


Users browsing this thread: 2 Guest(s)