ConnectNPC KO
From SA-MP Wiki
SA:MP Wiki 한글화 작업
Description:
NPC를 당신에 서버에 추가시킵니다.
(name[], script[])
name[]NPC의이름. | {{{2}}} |
script[] | npcmodes 에있는 npc 스크립트파일. |
Return Values:
This function does not return any specific values.
public OnFilterScriptInit() { ConnectNPC("NPC이름","녹화파일이름"); return 1; }
Related Functions
The following functions may be helpful as they relate to this function in one way or another.
- IsPlayerNPC: Check if a player is an NPC or an actual player.
Related Callbacks
The following callbacks might be useful, as they're related to this function in one way or another.
- OnPlayerConnect: Called when a player connects to the server.