[Ajuda] Mensagen quando o admin entra
#3

Quote:
Originally Posted by focaximubh
Посмотреть сообщение
pawn Код:
//em OnPlayerConnect:
if(IsPlayerAdmin(playerid))//Troque IsPlayerAdmin pela sua variavel de admin....
{
new texto[64], admnome[MAX_PLAYER_NAME];
format(texto, sizeof(texto), "O Admin %s logou no servidor!", admnome);
}

//em OnPlayerDisconnect:
if(IsPlayerAdmin(playerid))//Troque IsPlayerAdmin pela sua variavel de admin....
{
new texto[64], admnome[MAX_PLAYER_NAME];
format(texto, sizeof(texto), "O Admin %s desconectou do servidor!", admnome);
}
deu esses erro aki

Код:
C:\Users\NetiinhoO\Desktop\New Brasil RPG\gamemodes\new.pwn(2540) : error 012: invalid function call, not a valid address
C:\Users\NetiinhoO\Desktop\New Brasil RPG\gamemodes\new.pwn(2540) : warning 215: expression has no effect
C:\Users\NetiinhoO\Desktop\New Brasil RPG\gamemodes\new.pwn(2540) : error 001: expected token: ";", but found ")"
C:\Users\NetiinhoO\Desktop\New Brasil RPG\gamemodes\new.pwn(2540) : error 029: invalid expression, assumed zero
C:\Users\NetiinhoO\Desktop\New Brasil RPG\gamemodes\new.pwn(2540) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Mensagen quando o admin entra - by Netiinho - 27.02.2014, 02:59
Re: Mensagen quando o admin entra - by focaximubh - 27.02.2014, 03:03
Re: Mensagen quando o admin entra - by Netiinho - 27.02.2014, 03:12

Forum Jump:


Users browsing this thread: 1 Guest(s)