09.06.2010, 12:13
Im using L Admin and im wondering if someone knows how to make that the chat is disabled before you are logged in...
Originally Posted by mattym
Im using L Admin and im wondering if someone knows how to make that the chat is disabled before you are logged in...
|
public OnPlayerText(playerid, text[])
if(PlayerInfo[playerid][LoggedIn] != 1)
{
SendClientMessageToAll(grey,"You are not logged in, you can't use the chat!");
return 0;
}
Originally Posted by -Teddy-
Quote:
pawn Код:
pawn Код:
|
error 010: invalid function or declaration
if(PlayerInfo[playerid][LoggedIn] != 1)
if(PlayerInfo[playerid][LoggedIn] != 1)
Originally Posted by Naxix
change
Код:
if(PlayerInfo[playerid][LoggedIn] != 1) Код:
if(PlayerInfo[playerid][LoggedIn] != 1) |
Originally Posted by Naxix
change
Код:
if(PlayerInfo[playerid][LoggedIn] != 1) Код:
if(PlayerInfo[playerid][LoggedIn] != 1) |
public OnPlayerText(playerid, text[]) { if(PlayerInfo[playerid][LoggedIn] == 0) { SendClientMessage(playerid,grey,"You are not logged in, you can't use the chat!"); return 0; } return 1; }
Originally Posted by DJDhan
here you go: Quote:
|
Originally Posted by DJDhan
That's strange, I have edited the code. Are you sure those are the lines with the error?
|