I already added this!
#1

I already added
pawn Код:
ConnectNPC("Walking_Man","npc_walking");
But i compile it working.Then i try to load the server it doesnt say Walking_Man Has joined the server?
why?How can i fix it.If i fix it how can i change the skins for the npc?
Reply
#2

Do you have "npc_walking.amx" in your npcmodes folder?
Reply
#3

yEs i have..
Reply
#4

Is this that blocking it from joininG?
Код:
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(25023) : warning 202: number of arguments does not match definition
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(25023) : warning 202: number of arguments does not match definition
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(28062) : warning 219: local variable "idcar" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#5

open server.cfg and check for the value of "maxnpc"
Edit: show me your lines
Reply
#6

what line?oh the one.ok wait.
What line?i forgot..
MaxNPC 4
I added 2 more just now
Reply
#7

Whats the line you are talking about?
Reply
#8

Quote:
Originally Posted by Tamao_Serizawa
Посмотреть сообщение
Is this that blocking it from joininG?
Код:
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(25023) : warning 202: number of arguments does not match definition
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(25023) : warning 202: number of arguments does not match definition
C:\Users\AztecasGamerzzz\Desktop\GOod Servers\TRRP v1.0\gamemodes\trrp.pwn(28062) : warning 219: local variable "idcar" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Showing some compiling warnings does not fix the problem automaticly. Please show me the lines in your script.
Reply
#9

Wait don't you have to have the recording file too on the server? I think in npcmodes/recordings/ for walking_man.rec or w/e
Reply
#10

Yea i got the recording files

This is what you asking for?
pawn Код:
#include <a_npc>
#define rec "npc_walking"
#define onfoot 2

main(){}

public OnRecordingPlaybackEnd() StartRecordingPlayback(onfoot,rec);
public OnNPCSpawn()
{
   SetMyPos(93,1931.6257,-1784.1438,13.5469);
   StartRecordingPlayback(onfoot,rec);
}
public OnPlayerStreamIn(playerid)
{
   SetTimer("SendCMD",10000,true);
}

Offtopic: Oh-you got a server?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)