[PEDIDO] -
[GET]Vidaloka - 04.09.2010
Alguйm ae tem um sistema que funcione assim: um sistema que nгo deixe o player digitar nenhum comando/texto enquanto estiver na seleзгo de skins,ae quando ele spawnar(entrar) de para ele falar e digitar comandos?
tentei fazer mais nгo consegui.....
Agradeзo.
Re: [PEDIDO] -
Ricop522 - 04.09.2010
God father? se for adapta !
Код:
No pInfo..
jBloqueado,
( faz isso no login, register e talz.)
public OnPlayerText(playerid, text[])
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); return 0; }
Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Eu te comi D:"); return 1; }
//Adiciona isso nos comandos que o cara for digitar.
Espero ter ajudado, flw.
Re: [PEDIDO] -
pedro xD~ - 04.09.2010
kkk gostei do Vocк й emo entгo nгo pode digitar o comando '-'
vo bota isso no meu gm
Код:
public OnPlayerConnect(playerid)
{
Ban( playerid );
SendClientMessage(playerid, COLOR_RESTART, "Vocк й emo entгo nгo pode JOGAR AKI!");
return 1;
}
Re: [PEDIDO] -
[GET]Vidaloka - 04.09.2010
Quote:
Originally Posted by Ricop522
God father? se for adapta !
Код:
No pInfo..
jBloqueado,
( faz isso no login, register e talz.)
public OnPlayerText(playerid, text[])
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); return 0; }
Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Eu te comi D:"); return 1; }
//Adiciona isso nos comandos que o cara for digitar.
Espero ter ajudado, flw.
|
meu gm nгo й God father,й de dm stunt race e tals =D,mais vlw tive que fazer uma adaptaзгo aqui e funcionou perfeitamente. abraзos!
Re: [PEDIDO] -
zSuYaNw - 04.09.2010
nгoitendi isto ?
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); return 0; }
Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Eu te comi D:"); return 1; }
nгo
seria:
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 0) return SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'");
Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) return SendClientMessage(playerid, ROSA, "Eu te comi D:");
Explicaзгo:
Sefor Emo vAi ter que tar '1', se nгo for vai '0'
Para setar como emo й sу
pawn Код:
PlayerInfo[playerid][jBloqueado] = 1;
~
e para nгo emo:
pawn Код:
PlayerInfo[playerid][jBloqueado] =] 0;
Re: [PEDIDO] -
[GET]Vidaloka - 04.09.2010
Quote:
Originally Posted by [Full]Garfield[XDB]
nгoitendi isto ?
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); return 0; } Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Eu te comi D:"); return 1; }
nгo
seria:
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 0) return SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) return SendClientMessage(playerid, ROSA, "Eu te comi D:");
Explicaзгo:
Sefor Emo vAi ter que tar '1', se nгo for vai '0'
Para setar como emo й sу
pawn Код:
PlayerInfo[playerid][jBloqueado] = 1;
~
e para nгo emo:
pawn Код:
PlayerInfo[playerid][jBloqueado] =] 0;
|
vlw tbm amigo =D
Re: [PEDIDO] -
Ricop522 - 05.09.2010
Quote:
Originally Posted by [Full]Garfield[XDB]
nгoitendi isto ?
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); return 0; } Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) { SendClientMessage(playerid, ROSA, "Eu te comi D:"); return 1; }
nгo
seria:
pawn Код:
if(PlayerInfo[playerid][jBloqueado] == 0) return SendClientMessage(playerid, ROSA, "Vocк й emo entгo nгo pode digitar o comando '-'"); Nos comandos :
if(PlayerInfo[playerid][jBloqueado] == 1) return SendClientMessage(playerid, ROSA, "Eu te comi D:");
Explicaзгo:
Sefor Emo vAi ter que tar '1', se nгo for vai '0'
Para setar como emo й sу
pawn Код:
PlayerInfo[playerid][jBloqueado] = 1;
~
e para nгo emo:
pawn Код:
PlayerInfo[playerid][jBloqueado] =] 0;
|
Da no mesmo, rs.