this dam code i don't know where to put exactly - 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: this dam code i don't know where to put exactly (
/showthread.php?tid=108499)
this dam code i don't know where to put exactly -
Sfinx_17 - 14.11.2009
Код:
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
OnRecordingPlaybackEnd is a callback included in the NPC library included the line above. This line of code makes the recording loop, as when the recording playback has ended, it starts the recording again.
Re: this dam code i don't know where to put exactly -
Sew_Sumi - 14.11.2009
Quote:
Originally Posted by Sfinx_17
Код:
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
OnRecordingPlaybackEnd is a callback included in the NPC library included the line above. This line of code makes the recording loop, as when the recording playback has ended, it starts the recording again.
|
Theoretically it would, as long as you add some { } brackets, and change RECORDING to the name of the recording you made.
https://sampwiki.blast.hk/wiki/NPC:Main_Page
https://sampwiki.blast.hk/wiki/NPC:OnRecordingPlaybackEnd
Re: this dam code i don't know where to put exactly -
Sfinx_17 - 14.11.2009
you mean to change like this ?
Код:
public OnRecordingPlaybackEnd() StartRecordingPlayback(taximetristul.rec, RECORDING);
what recording to change because i have more than 3 names in my code with recording
??
Re: this dam code i don't know where to put exactly -
Sfinx_17 - 14.11.2009
i fix it ty btw for helping me
Re: this dam code i don't know where to put exactly -
Sew_Sumi - 14.11.2009
No worries, I am a bit blunt in my responses at times, But thats sometimes because the same questions get asked heaps. But you'll be alright... Read a lot on the forums and the Wiki... You'll start to see structures and techniques.
The best ones to follow are the ones with the least lines, and done with the nicest looking structure.