08.12.2011, 19:04
Did they connect on 0.3c server?
In "OnGameModeInit" I placed this:
in "OnPlayerSpawn" this:
.. and this in "FIBAgent.pwn" (in "npcmodes" folder)
In "OnGameModeInit" I placed this:
Код:
ConnectNPC("FIBAgent", "FIBAgent");
Код:
new sendername[MAX_PLAYER_NAME]; GetPlayerName(playerid, sendername, sizeof(sendername)); if(!strcmp(sendername, "FIBAgent")) { SetPlayerSkin(playerid, 165); }
Код:
#include "a_npc" #define RECORDING "FIBAgent" main() {} public OnRecordingPlaybackEnd() StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT, RECORDING); public OnNPCSpawn() StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT, RECORDING);