SA-MP Forums Archive
Mute when not logged in + message - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Mute when not logged in + message (/showthread.php?tid=125389)



Mute when not logged in + message - ~Dangun! - 03.02.2010

When i am not logged in it's mutes me. But it's not sending me the message when i try to talk. "Register or login before you can talk"
I hope somebody can help me fix this.

Код:
  if (pInfo[playerid][logged] == 0 ) return 0;
  SendClientMessage(playerid, oranje,"Register or Login first before you can talk!");[/pawn]
But when i am logged in it sends me the message: Register or Login first before you can talk!


Re: Mute when not logged in + message - notime - 03.02.2010

Removed. Didnt look at it to well


Re: Mute when not logged in + message - MrLeNy - 03.02.2010


Код:
if(pInfo[playerid][logged] == 0 ) return SendClientMessage(playerid, oranje,"Register or Login first before you can talk!");



Re: Mute when not logged in + message - Joe Staff - 03.02.2010

That won't work, SendClientMessage returns 1.
pawn Код:
if (pInfo[playerid][logged] == 0 )
{
  SendClientMessage(playerid, oranje,"Register or Login first before you can talk!");
  return 0;
}



Re: Mute when not logged in + message - ~Dangun! - 03.02.2010

Ok, tyvm.