I already added this! - 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: I already added this! (
/showthread.php?tid=308310)
I already added this! -
Tamao_Serizawa - 03.01.2012
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?
AW: I already added this! -
BigETI - 03.01.2012
Do you have "npc_walking.amx" in your npcmodes folder?
Re: I already added this! -
Tamao_Serizawa - 03.01.2012
yEs i have..
Re: I already added this! -
Tamao_Serizawa - 03.01.2012
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.
AW: I already added this! -
BigETI - 03.01.2012
open server.cfg and check for the value of "maxnpc"
Edit: show me your lines
Re: I already added this! -
Tamao_Serizawa - 03.01.2012
what line?oh the one.ok wait.
What line?i forgot..
MaxNPC 4
I added 2 more just now
Re: I already added this! -
Tamao_Serizawa - 03.01.2012
Whats the line you are talking about?
AW: Re: I already added this! -
BigETI - 03.01.2012
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.
Re: I already added this! -
Oh - 03.01.2012
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
Re: I already added this! -
Tamao_Serizawa - 03.01.2012
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?