ConnectNPC KO

From SA-MP Wiki

Jump to: navigation, search

SA:MP Wiki 한글화 작업



ConnectNPC KO was added in SA-MP 0.3a This function was added in SA-MP 0.3a and will not work in earlier versions!


Description:

NPC를 당신에 서버에 추가시킵니다.


Parameters:
(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 useful, as they are related 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.

In other languages