Beteszed egy scriptbe és azt a filterscripts mappába:
[pawn]#include <a_samp>
public OnFilterScriptInit()
{
ConnectNPC(\"NPC_NEVE\",\"npcmodes_script_neve\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, MAX_PLAYER_NAME);
if(!strcmp(name, \"NPC_NEVE\", true))
{
// skin stb.
}
return 1;
}
return 1
}[/pawn]
Ez gyalogos NPC esetén jó.