[Ajuda] Nгo digitar Comando Procurado
#1

Como faзo pra que o player que esteja procurado nгo consiga digitar comandos? Somente alguns?
Reply
#2

PHP код:
if(GetPlayerWantedLevel(playerid) == || GetPlayerWantedLevel(playerid) == || GetPlayerWantedLevel(playerid) == || GetPlayerWantedLevel(playerid) == || GetPlayerWantedLevel(playerid) == || GetPlayerWantedLevel(playerid) == 6)
{
SendClientMessage(playerid, -1"Vocк esta sendo procurado pela policial");
return 
1;

Reply
#3

Erro!
Reply
#4

E:\sv\[0.3z] BRASIL PERFECT STYLE 7.0\gamemodes\BPS.pwn(2423) : error 017: undefined symbol "playerid"
E:\sv\[0.3z] BRASIL PERFECT STYLE 7.0\gamemodes\BPS.pwn(2425) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#5

Quote:
Originally Posted by lucas3366
Посмотреть сообщение
E:\sv\[0.3z] BRASIL PERFECT STYLE 7.0\gamemodes\BPS.pwn(2423) : error 017: undefined symbol "playerid"
E:\sv\[0.3z] BRASIL PERFECT STYLE 7.0\gamemodes\BPS.pwn(2425) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
PHP код:
        if(GetPlayerWantedLevel(playerid) >= 1)
        {
            
SendClientMessage(playerid, -1"( Procurado ) Vocк estб sendo procurado pela policia");
        } 
Reply
#6

Coloca isso na public OnPlayerCommandText

if(GetPlayerWantedLevel(playerid) >= 1) return SendClientMessage(playerid, -1, "| ERRO | Vocк nгo pode digitar um comando estando procurado(a) pela Polнcia!");
Reply
#7

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if(
GetPlayerWantedLevel(playerid) >= 1) return SendClientMessage(playerid, -1"Vocк esta sendo procurado pela policial");

    
// O RESTO DO SEU CУDIGO
    
return 0;

Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)