[FilterScript] PPC_Housing
#10

Quote:
Originally Posted by [LHT]Bally
View Post
i get this error ?
pawn Code:
C:\Documents and Settings\BaLLy\Desktop\LONG HAUL TRUCKING\filterscripts\ppchouse.pwn(2997) : error 001: expected token: "*/", but found "-end of file-"
C:\Documents and Settings\BaLLy\Desktop\LONG HAUL TRUCKING\filterscripts\ppchouse.pwn(2997) : warning 203: symbol is never used: "ret_memcpy"
C:\Documents and Settings\BaLLy\Desktop\LONG HAUL TRUCKING\filterscripts\ppchouse.pwn(2997) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
In the include file "dutils.inc" (normally supplied with samp server package), make both strtok and ret_memcpy a stock function.
Just place "stock" (without the quotes) in front of those functions.
Then they won't be compiled if they're not used, and you won't get those messages.

Another way to fix this:
Copy the function StripNewLine from the include-file "dutils.inc" (supplied by the samp server package) into the filterscript and remove the #include <dutils>
The function StripNewLine is the only function used from that file anyway, no need to include a whole file filled with extra functions that aren't used.



Quote:
Originally Posted by [LHT]Bally
View Post
my server restarts when i try to createhouse :S
Are you sure you've properly installed the required plugins?
Also make sure you've created the PPC_Housing folder in your scriptfiles folder.
If you didn't add that directory, the script can't save the data and will crash your server.
Reply


Messages In This Thread
PPC_Housing - by PowerPC603 - 15.09.2011, 10:25
Re: PPC_Housing - by Speed - 15.09.2011, 11:03
Re: PPC_Housing - by [LHT]Bally - 15.09.2011, 11:12
Re: PPC_Housing - by [LHT]Bally - 15.09.2011, 11:14
Re: PPC_Housing - by Surferdude - 15.09.2011, 11:48
Re: PPC_Housing - by Xx_OutLawZ_xX - 15.09.2011, 11:51
Re: PPC_Housing - by wouter0100 - 15.09.2011, 11:55
Respuesta: PPC_Housing - by Manuel7284 - 15.09.2011, 12:16
Re: PPC_Housing - by [LHT]Bally - 15.09.2011, 14:20
Re: PPC_Housing - by PowerPC603 - 15.09.2011, 21:04
Re: PPC_Housing - by [LHT]Bally - 15.09.2011, 21:06
Re: PPC_Housing - by [GTA]AmericanGangster - 15.09.2011, 21:08
Re: PPC_Housing - by [GTA]AmericanGangster - 15.09.2011, 21:12
Re: PPC_Housing - by PowerPC603 - 15.09.2011, 21:44
Re: PPC_Housing - by Ehab1911 - 16.09.2011, 07:12
Re: PPC_Housing - by PowerPC603 - 16.09.2011, 10:27
Re : Re: PPC_Housing - by Naruto_Emilio - 16.09.2011, 22:52
Re: PPC_Housing - by PowerPC603 - 16.09.2011, 23:46
Re: PPC_Housing - by knackworst - 24.09.2011, 09:50
Re: PPC_Housing - by bryan1412 - 24.09.2011, 10:32
Re: PPC_Housing - by PowerPC603 - 24.09.2011, 11:49
Re: PPC_Housing - by Trucker[UK] - 24.09.2011, 14:30
Re: PPC_Housing - by [LHT]Bally - 24.09.2011, 20:05
Re: PPC_Housing - by PowerPC603 - 24.09.2011, 21:02
Re: PPC_Housing - by [LHT]Bally - 24.09.2011, 21:29
Re: PPC_Housing - by knackworst - 25.09.2011, 00:17
Re: PPC_Housing - by Epic_Mickey - 25.09.2011, 05:34
Re: PPC_Housing - by PowerPC603 - 25.09.2011, 12:41
Re: PPC_Housing - by PowerPC603 - 29.09.2011, 20:45
Re: PPC_Housing - by DiiP - 03.10.2011, 14:30
Re: PPC_Housing - by fredelfredel - 04.10.2011, 19:05
Re: PPC_Housing - by PowerPC603 - 04.10.2011, 19:28
Re: PPC_Housing - by BetaLaxx - 06.10.2011, 17:40
Re: PPC_Housing - by [LHT]Bally - 07.10.2011, 10:14
Re: PPC_Housing - by niels44 - 08.10.2011, 14:24
Re: PPC_Housing - by AgentBacon - 11.10.2011, 18:33
Re: PPC_Housing - by [03]Garsino - 11.10.2011, 19:32
Re: PPC_Housing - by PowerPC603 - 11.10.2011, 21:10
Re: PPC_Housing - by [03]Garsino - 11.10.2011, 22:06
Re: PPC_Housing - by K4P3L_KUM4R - 19.11.2011, 05:42
Re: PPC_Housing - by [LaTinb0y]...$ag3R - 19.11.2011, 06:40
Re: PPC_Housing - by GangsTa_ - 19.11.2011, 07:47
Re: PPC_Housing - by davedavy - 22.11.2011, 14:17
Respuesta: Re: Respuesta: PPC_Housing - by [Nikk] - 22.11.2011, 16:20
Re: PPC_Housing - by davedavy - 22.11.2011, 17:09
Re: PPC_Housing - by JanNovak - 25.11.2011, 10:53
Re: PPC_Housing - by -BadGirl- - 27.11.2011, 12:16
Re: PPC_Housing - by -fleia - 27.11.2011, 20:33
Re: PPC_Housing - by Nexotronix - 27.11.2011, 20:36
Re: PPC_Housing - by Astralis - 22.12.2011, 14:38
Re: PPC_Housing - by Ryan_Obeles - 24.02.2012, 05:14
Re: PPC_Housing - by willzyyy - 27.02.2012, 19:46
Re: PPC_Housing - by ninjahippie - 04.03.2012, 08:07
Re: PPC_Housing - by Vegas. - 04.03.2012, 08:54
Re: PPC_Housing - by willzyyy - 04.03.2012, 08:57
Re: PPC_Housing - by titanak - 04.03.2012, 23:12
Re: PPC_Housing - by [LHT]Bally - 04.03.2012, 23:14
Re: PPC_Housing - by GTAItsMe - 06.07.2012, 10:00
Re: PPC_Housing - by martin3644 - 14.12.2012, 18:08
Re: PPC_Housing - by Johny32 - 22.02.2013, 11:28
Re: PPC_Housing - by Skillzz - 21.11.2013, 23:43
Re: PPC_Housing - by Symphony - 29.01.2014, 00:22
Re: PPC_Housing - by Hybris - 01.02.2014, 15:55
Re: PPC_Housing - by ProKillerpa - 08.03.2014, 13:31
Re: PPC_Housing - by Bubulis - 19.05.2014, 12:06
Re: PPC_Housing - by HuntingMan - 25.05.2014, 03:47
Re: PPC_Housing - by iRaiDeN - 25.05.2014, 03:57
Re: PPC_Housing - by Frogger75 - 22.06.2014, 21:25
Re: PPC_Housing - by Wahaj - 24.06.2014, 10:09
Re: PPC_Housing - by benedek - 29.06.2014, 17:44
Re: PPC_Housing - by Smoky94 - 02.07.2014, 14:28
Re: PPC_Housing - by ROXYhunter - 05.08.2014, 12:56
Re: PPC_Housing - by suhan - 26.07.2015, 15:29
Re: PPC_Housing - by rajeevkrao - 29.07.2017, 19:01

Forum Jump:


Users browsing this thread: 3 Guest(s)