SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 17/12/2011, 01:02 PM   #1
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Need help to compile

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


1 Error.
__________________
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 17/12/2011, 01:07 PM   #2
Kostas'
High-roller
 
Kostas''s Avatar
 
Join Date: Sep 2011
Location: Athens, Greece
Posts: 1,063
Reputation: 101
Default Re: Need help to compile

Show us the code
__________________
Knowledge:
  • HTML
  • Pascal
  • Visual Basic
  • Algorithm
    • Pseudocode
Kostas' is offline   Reply With Quote
Old 17/12/2011, 01:11 PM   #3
Ronaldo_raul™
Gangsta
 
Ronaldo_raul™'s Avatar
 
Join Date: Jun 2010
Location: .
Posts: 999
Reputation: 67
Default Re: Need help to compile

Under the definations of you scripts put -
pawn Code:
#define NpcPlayback
Ronaldo_raul™ is offline   Reply With Quote
Old 17/12/2011, 01:22 PM   #4
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Need help to compile

what definations?

pawn Code:
#include <a_npc>
#define NPC NpcPlayback

NextPlayBack()
{
    StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER,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 17/12/2011, 01:29 PM   #5
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Need help to compile

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


1 Error.
__________________
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 17/12/2011, 01:31 PM   #6
[ABK]Antonio
High-roller
 
[ABK]Antonio's Avatar
 
Join Date: Sep 2011
Location: ID, USA
Posts: 1,224
Reputation: 185
Default Re: Need help to compile

put
pawn Code:
public NextPlayBack()
then forward it
__________________

ABKClan.com
[ABK]Antonio is offline   Reply With Quote
Old 17/12/2011, 01:33 PM   #7
Kostas'
High-roller
 
Kostas''s Avatar
 
Join Date: Sep 2011
Location: Athens, Greece
Posts: 1,063
Reputation: 101
Default Re: Need help to compile

pawn Code:
#define RECORDING "mynpc" //This is the filename of your recording without the extension.
The filename to be loaded, without the .rec extension.
pawn Code:
StartRecordingPlayback(PLAYER_RECORDING_TYPE_DRIVER, RECORDING);
__________________
Knowledge:
  • HTML
  • Pascal
  • Visual Basic
  • Algorithm
    • Pseudocode
Kostas' is offline   Reply With Quote
Old 17/12/2011, 01:33 PM   #8
suhrab_mujeeb
Guest
 
Posts: n/a
Default Re: Need help to compile

Quote:
Originally Posted by Ronaldo_raul™ View Post
Under the definations of you scripts put -
pawn Code:
#define NpcPlayback
@R_R It's not as simple as that.
@OP Did you include a_npc?
  Reply With Quote
Old 17/12/2011, 04:05 PM   #9
$$Money$$
Big Clucker
 
$$Money$$'s Avatar
 
Join Date: May 2011
Posts: 71
Reputation: 0
Default Re: Need help to compile

ohh..afterr i fixed this how can i load the 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 17/12/2011, 04:48 PM   #10
[DOG]irinel1996
High-roller
 
[DOG]irinel1996's Avatar
 
Join Date: Jan 2010
Posts: 1,470
Reputation: 288
Default Respuesta: Need help to compile

http://forum.sa-mp.com/showthread.php?t=95034 Take a look.
[DOG]irinel1996 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
Compile Error. Can Someone Compile For Me Please? RolePlay360 Help Archive 2 11/03/2009 09:56 PM


All times are GMT. The time now is 11:45 AM.


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