[Ajuda] Restriзгo
#1

Bem Queria Um Sistema de Restriзгo

Exemplo

/PegarFogo

Vocк Nгo й o Derp Para Usar este Comando.
Reply
#2

pawn Code:
if (Derp != true) return SendClientMessage(playerid, -1, "Vocк nгo й o Derp!!!");
Reply
#3

nгo pegou '-' Tenta Colocar nesse comando '-'


Quote:

CMD:comando(playerid, params[])
{
if(sscanf(params, "u", ID)) return MensagemDupla(playerid, " Use /comando[ID]", "");
new Float:X,
Float:Y,
Float:Z;
GetPlayerPos(ID, X, Y, Z);
new barril;
barril = CreateObject(18818, X, Y, Z, 0, 0, 0, 0);

Barris[tBarris] = barril;
tBarris ++;
CreateExplosion(X, Y, Z, 3, 5);
SetPlayerHealth(playerid, 10);
format(String, sizeof(String), "Vocк caiu no comando de %s", Nome(playerid));
SendClientMessageToAll(BRANCO, String);
new Float: P_Pos[3];
GetPlayerPos(ID, P_Pos[0], P_Pos[1], P_Pos[2]);
if(!IsPlayerInRangeOfPoint(playerid, 20.0, P_Pos[0], P_Pos[1], P_Pos[2])) return SendClientMessage(playerid, 0xFFFFFFAA, "O personagen esta muito longe de vocк");
return 1;
}

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)