SA-MP Forums Archive
Is it possible to have npc bot's when choosing a skin ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Is it possible to have npc bot's when choosing a skin ? (/showthread.php?tid=472185)



Is it possible to have npc bot's when choosing a skin ? - Immortal_LTU - 27.10.2013

So yeah the question is , is it possible to have npc bot's when choosing skin ? (OnPlayerRequestClass)


Re: Is it possible to have npc bot's when choosing a skin ? - [ABK]Antonio - 27.10.2013

Yeah, but what for?


Re: Is it possible to have npc bot's when choosing a skin ? - Hamam - 27.10.2013

https://sampforum.blast.hk/showthread.php?tid=309620


Re: Is it possible to have npc bot's when choosing a skin ? - Immortal_LTU - 27.10.2013

Quote:
Originally Posted by Hamam
Посмотреть сообщение
I mean showing npc's on OnPlayerRequestClass callback . Not to change skin .


Respuesta: Is it possible to have npc bot's when choosing a skin ? - angelxeneize - 27.10.2013

public OnPlayerSpawn(playerid)
{

if(!strcmp(playername,"BotName",true)) {
SetPlayerSkin(playerid, 61); //skin id :remplace 61
return 1;
}
return 1;
}