[Ajuda] Restriзгo
#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


Messages In This Thread
Restriзгo - by derpinho123 - 02.07.2013, 11:39
Re: Restriзгo - by Delete_ - 02.07.2013, 11:53
Re: Restriзгo - by derpinho123 - 03.07.2013, 14:10

Forum Jump:


Users browsing this thread: 1 Guest(s)