01.01.2015, 16:17
Hello, I'm trying to kick the NPC on end of playback, but compiler says: error 017: undefined symbol "Kick".
I tried all my ideas but it doesn't worked.
Any idea how to make it work?
Thanks.
I tried all my ideas but it doesn't worked.
Any idea how to make it work?
Thanks.
Код:
#include <a_npc> #include <a_samp> public OnRecordingPlaybackEnd() { for(new i = 0; i < MAX_PLAYERS_EX; i++) { new npcName[MAX_PLAYER_NAME]; GetPlayerName(i, npcName, sizeof(npcName)); if(!strcmp(npcName, "[NPC]Customer")) { Kick(i); } } }