25.11.2011, 20:25
Quote:
Don't double post.
https://sampwiki.blast.hk/wiki/NPC:OnRecordingPlaybackEnd Add: Kick(); Something like this: (Not tested) pawn Код:
|
pawn Код:
public OnRecordingPlaybackEnd()
{
foreach (new i : Player)
{
new name[MAX_PLAYER_NAME];
GetPlayerName(i, name, MAX_PLAYER_NAME);
if(!strcmp(name, "Your npc name", true))
{
Kick(i);
}
}
}