[Ajuda] Prendendo usando /kill
#6

O problema nгo й no comando, deve estar no seu "Sistema" de driver-by.

PHP код:
if(strcmp(cmdtext"/kill"true) == || strcmp("/morrer"cmdtexttrue) == || strcmp("/suicidar"cmdtexttrue) == 0)
{
    if(
CallRemoteFunction("LocalInvalidoParaTeleporte","i",playerid) && GetPlayerInterior(playerid) > 0) return SendClientMessage(playeridCOLOUR_ERRO"[-ERRO-]: Vocк estб em um local em que й proibido morrer!");
    
SetPlayerHealth(playerid,0.0);
    new 
message[100], pname[MAX_PLAYER_NAME];
    
GetPlayerName(playeridpnamesizeof(pname));
    
format(messagesizeof(message), "{00FF00}%s Se Suicidou! {00FFFF}[/Kill]"pname);
    if(
IsPlayerSpawned(playerid))
    {
        
SendClientMessageToAll(COLOUR_BRANCO,message);
    }
    return 
1;

Reply


Messages In This Thread
Prendendo usando /kill - by CZ - 30.08.2015, 14:03
Re: Ajuda bug - by [BOPE]Seu._.Madruga - 30.08.2015, 14:16
Re: Ajuda bug - by CZ - 30.08.2015, 14:25
Re: Ajuda bug - by [BOPE]Seu._.Madruga - 30.08.2015, 14:36
Re: Ajuda bug - by CZ - 30.08.2015, 14:37
Re: Ajuda bug - by [BOPE]Seu._.Madruga - 30.08.2015, 15:18
Re: Ajuda bug - by CZ - 30.08.2015, 15:41
Re: Prendendo usando /kill sendo atropelado - by JonathanFeitosa - 31.08.2015, 01:15
Re: Prendendo usando /kill - by CZ - 31.08.2015, 15:12

Forum Jump:


Users browsing this thread: 1 Guest(s)