[Ajuda] Dъvidas.
#8

pawn Code:
command(tapa, playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] == 0)
        return SendClientMessage(playerid, -1, "{FF0000}[ x ] Vocк nгo tem permissгo para usar esse comando!");
    if( isnull( params[0] ) )
        return SendClientMessage(playerid, -1,"{CAFF70}[ > ] Use: /tapa [ID]");
    if(!IsPlayerConnected(strval(params[0])))
        return SendClientMessage(playerid,-1,"{FF0000}[ x ] Jogador(a) estб conectado(a)!");
    new Float:Pos[3];
    GetPlayerPos(strval(params[0]), Pos[0], Pos[1], Pos[2]);
    SetPlayerPos(strval(params[0]), Pos[0], Pos[1], Pos[2]+20);
    format(dstring, sizeof dstring ,"[Admin] %s vocк levou um tapa do(a) administrador(a) %s.", Nome(strval(params[0])), Nome(playerid));
    SendClientMessage(playerid, Azul,dstring);
    return true;
}
Reply


Messages In This Thread
Dъvidas. - by Ts3 - 17.07.2014, 15:19
Re: Dъvidas. - by Duun - 17.07.2014, 15:26
Re: Dъvidas. - by Ts3 - 17.07.2014, 15:41
Re: Dъvidas. - by MultiKill - 17.07.2014, 15:45
Re: Dъvidas. - by ViniBorn - 17.07.2014, 16:47
Re: Dъvidas. - by Ts3 - 17.07.2014, 19:37
Re: Dъvidas. - by ViniBorn - 17.07.2014, 19:52
Re: Dъvidas. - by PT - 17.07.2014, 20:00
Re: Dъvidas. - by Schocc - 17.07.2014, 20:05

Forum Jump:


Users browsing this thread: 2 Guest(s)