View Single Post
Mandrew
Junior Member
Join Date: Nov 2018
Old 11-17-2018 , 21:26   Re: How to change npc models using sourcemod?
Reply With Quote #3

Quote:
Originally Posted by Mrs cheng View Post
native SetEntityModel(entity, const String:model[]);
Well I am using pawn studio, is this the correct usage? Because I am getting errors when trying to compile:

public OnPluginStart()
{
native SetEntityModel(npc_combine_s, const String:model[models/npc/combine_soldier.mdl]);
}

Last edited by Mandrew; 11-17-2018 at 22:05.
Mandrew is offline