SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 18/12/2011, 12:29 PM   #1
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Helping Compiling this

Code:
C:\Users\AztecasGamerzzz\Desktop\Sa-Mp Servers\NE-RP v3.2\scriptfiles\NPC.pwn(11) : error 017: undefined symbol "NPC"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
pawn Code:
#include <a_npc>



main() {}



NextPlayBack()
{
    StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);
}
public OnRecordingPlaybackEnd()
{
    NextPlayBack();
}
public OnNPCSpawn()
{
    NextPlayBack();
}
public OnNPCExitVehicle()
{
    StopRecordingPlayback();
}
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Old 18/12/2011, 12:30 PM   #2
kizla
Big Clucker
 
kizla's Avatar
 
Join Date: Dec 2009
Posts: 173
Reputation: 50
Default Re: Helping Compiling this

give us a line 11
kizla is offline   Reply With Quote
Old 18/12/2011, 01:09 PM   #3
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Helping Compiling this

pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Old 18/12/2011, 01:19 PM   #4
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Helping Compiling this

Any Help?
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Old 18/12/2011, 01:21 PM   #5
Thresholdold
Huge Clucker
 
Thresholdold's Avatar
 
Join Date: Sep 2011
Location: Inside your RCON
Posts: 441
Reputation: 30
Default Re: Helping Compiling this

You should be putting the name of the record file. If you named the recording file 'MyNPC' then you should replace 'NPC' with 'MyNPC'. The place where you have put it should be the name of your recording. Is your recording called 'NPC'?

EDIT: You also forgot to implement the recording. Example:
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,NPC);

Should become:
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_ONFOOT,"NPC");
__________________
Thresholdold is offline   Reply With Quote
Old 18/12/2011, 01:39 PM   #6
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Helping Compiling this

How can i connect my Npc ??What command??
If i connect the npc it will ask the pass how can i fix that??
I only got 1 npc i just wanna try it
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Old 18/12/2011, 11:12 PM   #7
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Helping Compiling this

How can i connect my Npc ??What command??
If i connect the npc it will ask the pass how can i fix that??
I only got 1 npc i just wanna try it
__________________
Looking for a scripter for FREE!!
Contact me msn:arnoldaztecas@hotmail.com
yahoo:truerealityroleplay@yahoo.com
skype:$$Money$$
If i got money from server donater, will pay you by alertpay,paypal or volt-host.
Mapper and Scripter.You will get co-owner status for the server
and I will buy the host and helping you get some ideas and
scripts.Hope you will helped me!Pm me or contact me.
$$Money$$ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Helping with NPC dennis218977 Help Archive 2 18/02/2011 02:58 PM
Need some help with this, Anyone mind helping ihatetn931 Help Archive 0 07/02/2010 01:10 AM
15$ For The One With The Helping Tip! pascal gta Client Support 21 07/09/2009 11:11 AM
Helping Me Please! wilcock33 Help Archive 2 08/08/2009 06:00 PM
Cus you all <3 helping me xD (Floats) NeRoSiS Help Archive 2 12/03/2009 04:52 PM


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.