[Include] AddPlayerRcon
#9

Quote:
Originally Posted by paulor
Посмотреть сообщение
Уtimo pensamento! Muito bom!

Isso nгo vai Print como deve neh!
pawn Код:
#define AddPlayerRcon(%0)           (SetPVarInt(%0, "rcon_ademir", 1), printf("RCON (In-Game): Player %d (%d) has logged in.",%0, g@str_getname(%0)))
#define RemovePlayerRcon(%0)        (SetPVarInt(%0, "rcon_ademir", 0), printf("RCON (In-Game): Player %d (%d) has logged off.",%0, g@str_getname(%0)))

//Correto.
#define AddPlayerRcon(%0)           (SetPVarInt(%0, "rcon_ademir", 1), printf("RCON (In-Game): Player %d (%s) has logged in.",%0, g@str_getname(%0)))
#define RemovePlayerRcon(%0)        (SetPVarInt(%0, "rcon_ademir", 0), printf("RCON (In-Game): Player %d (%s) has logged off.",%0, g@str_getname(%0)))
Nem vi o erro Obrigado paulinho .. Arrumado !!

Quote:
Originally Posted by Mr.Hardy
Посмотреть сообщение
Boa Lуgica!
Mбs podia melhorar nй mano!

Ai estб mais externo e nгo uso interno se й q me entende..

Nгo ira funcionar /adm varlist
/adm cmdlist

Sу irб printar cmdlist, varlist no console.
Funcionarб com SendRconCommand, й praticamente uma nova rcon .. cmdlist nгo irб funcionar porque nгo tem o jogador pra mandar, mas pra isto basta colocar uns SendClientMessages !! Obrigado pela dica.
Reply


Messages In This Thread
AddPlayerRcon - by ipsBruno - 11.07.2012, 07:28
Re: AddPlayerRcon - by andmeida10 - 11.07.2012, 08:10
Re: AddPlayerRcon - by Rick_DR - 11.07.2012, 09:08
Re: AddPlayerRcon - by CidadeNovaRP - 11.07.2012, 12:09
Re: AddPlayerRcon - by Nigel - 11.07.2012, 12:25
Re: AddPlayerRcon - by Kuddy - 11.07.2012, 12:53
Re: AddPlayerRcon - by Don_Speed - 11.07.2012, 13:23
Re: AddPlayerRcon - by paulor - 11.07.2012, 14:29
Respuesta: Re: AddPlayerRcon - by ipsBruno - 11.07.2012, 21:39
Re: Respuesta: Re: AddPlayerRcon - by paulor - 11.07.2012, 22:06

Forum Jump:


Users browsing this thread: 2 Guest(s)