09.12.2012, 02:49
//under on player text
Can someone help with so that if someone types "/" and they are not logged in it sends them a message
pawn Код:
OnPlayerText(playerid,text[])
{
if(!strcmp(text, "/", true))
{
if(LoggedIn[playerid] == 1)
{
SendClientMessage(playerid, -1,"log in first please");
return 0;
}
}
return 1;
}