SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 16/01/2019, 05:59 PM   #1
BrunoSayden177
Big Clucker
 
Join Date: Jun 2018
Location: Alfredo Vasconcelos - MG
Posts: 148
Reputation: 0
Question Ajuda Simples

Coloquei em meu GM para que quando o Player não estiver logado, ele nao poder usar o chat e retornar o erro: "Você não está logado" porém, quando ele tenta usar o chat, manda o erro e a menssagem, queria saber o que ta de errado.

CODE:

PHP Code:
public OnPlayerText(playeridtext[])
{
    if (
Logado[playerid] == 0) return SendClientMessage(playeridCOR_VERMELHA"|ERRO| Você não está logado!");
    return 
1;

BrunoSayden177 is offline   Reply With Quote
Old 16/01/2019, 06:06 PM   #2
Felipealves
Huge Clucker
 
Felipealves's Avatar
 
Join Date: Mar 2016
Location: Paraná
Posts: 325
Reputation: 16
Default Re: Ajuda Simples

Mude de return 1;
para return 0;
__________________
Felipealves is online now   Reply With Quote
Old 16/01/2019, 06:19 PM   #3
BrunoSayden177
Big Clucker
 
Join Date: Jun 2018
Location: Alfredo Vasconcelos - MG
Posts: 148
Reputation: 0
Default Re: Ajuda Simples

Vlw manim
BrunoSayden177 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda] AJUDA SIMPLES kayojonata Português/Portuguese 1 09/09/2014 10:30 PM
[ajuda]Simples :) MagneticLove- Português/Portuguese 2 09/05/2012 12:56 AM
[ajuda] me ajuda aqui e muito simples felipe_mr Português/Portuguese 11 10/01/2012 02:42 PM
[Ajuda] Simples kairos Português/Portuguese 3 03/11/2011 10:44 AM
Ajuda simples; Izaac Abreu Português/Portuguese 2 20/08/2011 10:40 PM


All times are GMT. The time now is 02:29 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.