25.04.2018, 21:30
Como faзo pra que o player que esteja procurado nгo consiga digitar comandos? Somente alguns?
if(GetPlayerWantedLevel(playerid) == 1 || GetPlayerWantedLevel(playerid) == 2 || GetPlayerWantedLevel(playerid) == 3 || GetPlayerWantedLevel(playerid) == 4 || GetPlayerWantedLevel(playerid) == 5 || GetPlayerWantedLevel(playerid) == 6)
{
SendClientMessage(playerid, -1, "Vocк esta sendo procurado pela policial");
return 1;
}
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. |
if(GetPlayerWantedLevel(playerid) >= 1)
{
SendClientMessage(playerid, -1, "( Procurado ) Vocк estб sendo procurado pela policia");
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(GetPlayerWantedLevel(playerid) >= 1) return SendClientMessage(playerid, -1, "Vocк esta sendo procurado pela policial");
// O RESTO DO SEU CУDIGO
return 0;
}