23.12.2011, 23:12
Hola tengo un JunkBuster v11 y quiero conectar el Ladmin con el JunkBuster como ago eso?

/*
Put for example this into your gamemode (Godfather):
public IsPlayerAdminCall (playerid)
return (PlayerInfo [playerid][pAdmin] >= 1);
You can link your admin system with JunkBuster,
if you create a IsPlayerAdminCall function which
fits to your script. (The example above may only work for GF!)
*/
#include <JunkBuster>
public IsPlayerAdminCall (playerid)
return (PlayerInfo [playerid][pAdmin] >= 1);
C:\Users\Manuel\Documents\Server LSGW v11\Server LSGW\filterscripts\Ladmin4v2.pwn(6709) : error 017: undefined symbol "pAdmin" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
public IsPlayerAdminCall(playerid)
{
if(PlayerInfo[playerid][Level] >= 1) // si usas otro sistema de admin, pones el if(PalyerInfo).... Pero en el caso de Ladmin va ese
return 1;
else
return 0;
}