27.04.2009, 15:04
Hi,
For example this is my code.
I've used this include
Please Help
For example this is my code.
Код:
public Jetpack()
{
for(new i; i < MAX_PLAYERS; i++)
{
if(Jetpacka == 1)
{
if(IsPlayerConnected(i))
{
if(GetPlayerSpecialAction(i) == 2)
{
format(Jetpacks,sizeof(Jetpacks), "Anti-Cheat: %s Has been kicked [Reason: Jetpack]", Isim(i));
SendClientMessageToAll(PURPLE, Jetpacks);
Kick(i);
}
else if(IsPlayerLAdmin(i)) // <========= HERE BUT IT DOESN'T WORK. IT STILL KICK THE ADMIN
{
}
}
}
}
}
Код:
#include <IsPlayerLAdmin>


Thanks
It works