06.08.2013, 22:41
pawn Код:
public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new npc_name[24];
GetPlayerName(playerid,npc_name,sizeof(npc_name));
if(!strcmp(npc_name,"Vendeur1",false))
{
SetPlayerSkin(playerid, 279; // your skin choice for NPC
}
return 1;
}
//rest of callback here
If i helped +rep me