Probleme With NPC - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Probleme With NPC (
/showthread.php?tid=165277)
Probleme With NPC -
waim - 04.08.2010
Hello Guys .. I created NPC and I put the record on (npcmodes\recordings) and I do all things to create a NPC .. and when the Bot Joined the server ... I don't know Why It doesn't move and its Skin is Carl Jhonson
Re: Probleme With NPC -
V1ceC1ty - 04.08.2010
https://sampforum.blast.hk/showthread.php?tid=95034
Re: Probleme With NPC -
waim - 04.08.2010
yes mate i follow this Tutorial But Look at the result on the picture
Re: Probleme With NPC -
V1ceC1ty - 04.08.2010
If you read it all, it would work. Do it again. You need to set the NPC's skin using SetPlayerSkin.
Re: Probleme With NPC -
waim - 04.08.2010
mmm Tell me i must put something On PlayerSpawn or no ... My NPC On foot
Re: Probleme With NPC -
[MWR]Blood - 04.08.2010
Quote:
Originally Posted by waim
mmm Tell me i must put something On PlayerSpawn or no ... My NPC On foot
|
Read all carefully, seems you didn't.
Re: Probleme With NPC -
waim - 04.08.2010
So why My Bot didn't move
Re: Probleme With NPC -
V1ceC1ty - 04.08.2010
BECAUSE YOU DIDN'T DO THE TUTORIAL RIGHT. READ IT AGAIN.
:l
Re: Probleme With NPC -
waim - 04.08.2010
When I made a player in vehicle it works GooD ... But On FooT

I don't know why it doesn't move
Re: Probleme With NPC -
willsuckformoney - 04.08.2010
lol you want it to move? or just stay there && set the skin like this
pawn Код:
if(!strcmp(pName,"Your Bots Name Here",true))
{
SetPlayerSkin(playerid, The Skin ID you want for it);
TheRecordFileNameHere=playerid;
return 1;
}
OnPlayerConnect of course
&& to make it move you have to make it move when you record it