04.08.2011, 14:25
Hi if it works for you.
It does not work for me, Sir.
Here is the code:
I have set an timer about 42 seconds, and that kicks npc..
But none of this works.
It does not work for me, Sir.
Here is the code:
pawn Код:
public KickHydraAssualts(playerid)
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "HydraAssualt1", true))
{
Kick(HydraAssualt1);
Kick(playerid);
return 1;
}
if(!strcmp(npcname, "HydraAssualt2", true))
{
Kick(HydraAssualt2);
Kick(playerid);
return 1;
}
if(!strcmp(npcname, "HydraAssualt3", true))
{
Kick(HydraAssualt3);
Kick(playerid);
return 1;
}
if(!strcmp(npcname, "HydraAssualt4", true))
{
Kick(HydraAssualt4);
Kick(playerid);
return 1;
}
return 1;
}
But none of this works.