can some one help me? only work as rcon. if is player normal will kick or ban
#10

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
No it won't.
pawn Код:
if(!IsPlayerAdmin(playerid))
see !. It means
pawn Код:
if(IsPlayerAdmin(playerid) == 0)
.
so
pawn Код:
if(IsPlayerAdmin(playerid) == 0)
what should i do yea..

. . if => if(IsPlayerAdmin(playerid) == 1) it has Loged as rcon?

is hard man..

because no function at rcon login section.. just only have:
OnRconLoginAttempt ...

if have OnRconLogin
can put

example:
pawn Код:
OnRconLogin(playerid);
{
if(IsPlayerAdmin(playerid) == 1)
{
SendClientMessage(playerid,COLOR_PINK," RCON LOGIN SUCCESFULLY AND NOW CAN USE MINIGUN");
return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)