SA-MP Forums Archive
[Include] [ KIHC ] - [ Kapils Instant House Constructions ] - [ Redefined ] - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [ KIHC ] - [ Kapils Instant House Constructions ] - [ Redefined ] (/showthread.php?tid=6392)

Pages: 1 2 3 4


[ KIHC ] - [ Kapils Instant House Constructions ] - [ Redefined ] - Kapil - 09.07.2007

_________________________________________________[*]Affiliates


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - mikster1 - 09.07.2007

Cool!

Thanks Alot Kapil!

Mikster


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Warriors_Tornado - 09.07.2007

not bad but i idnt understand


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - mikster1 - 09.07.2007

i go up to a door

type /build and nothing happens

i then goto my scriptfiles folder and there is nothing there
how come?

Mikster


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - sebihunter - 09.07.2007

Same problem


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Kapil - 09.07.2007

Extremely sorry for the inconvinience, Redownload plizzzz.

Quote:

There's a ! operator to invert checks like this.

ya sure ****** but I have said that i have tested it 1001 times, and it didnt crash, instead it made my job easy creating a new file, by the way I have added "io_append" not "io_write". Anyway thx for ur sugestion


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - mikster1 - 09.07.2007

a couple more things.

When this FS Is running it cancels out any other commands

Any Way To Fix?

and also my script doesnt have OnPlayerPickUpPickup , OnPlayerSelectedMenuRow or OnPlayerExitedMenu.

What Should I Do?


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Kapil - 09.07.2007

Quote:
Originally Posted by mikster1
1 more thing.
When this FS Is running it cancels out any other commands
Any Way To Fix?
Is it ? well anyway this is a filterscript when u r making the server or gamemode,once u finish making houses u will have no need of this.
And anyway I will check it and fix it soon, its late midnight here, I just came to check if it works 4 all.

REMEMBER:
Quote:

An Err is for MANKIND, To Forgive is for GOD




Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - MaTrIx4057 - 09.07.2007

Code:
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(91) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(99) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(100) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(101) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(108) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(113) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(115) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(116) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(117) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(121) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(1769) : warning 203: symbol is never used: "gMenu2"
C:\PROGRA~1\ROCKST~1\GTASAN~1\Srv\GAMEMO~1\sftdm.pwn(1769) : warning 203: symbol is never used: "gMenue2"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


10 Errors.
Hmm whats wrong.


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - EvilHomer - 09.07.2007

I cant get it to work :/ nothing in scriptfiles after i tried building 5-10 houses.
But i forgive you :P hehe
nah its probably my fault its my first gamemode maybe something in there makes it buggy or something.

I did /build large 5 times and 5 small .. but ill try again later with a clean gamemode




Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - MaTrIx4057 - 09.07.2007

Type /build house small


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Vax_One - 09.07.2007

OMFG thank u kapil 1 of the best scripts i never seem


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - marabon - 10.07.2007

Could someone post what to put in your code if you dont have "OnPlayerPickUpPickup" and all those.... ? PLEASE


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Bardokas - 10.07.2007

Where is source? i think you zipped wrong file..


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - marabon - 10.07.2007

When I try to compile it sais that PAWN.exe need to exit and isnt responding help please !


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Vax_One - 10.07.2007

Hey i created a guide for ppl who dont know how to use this very good tool:

Step 1: unzip all the stuff un ur samp server folder

Step 2: configure ur server.cfg to run KIHC filterscript

Step 3: open server and go play

Step 4: when u are playin go where u want a house and type /build house small,medium or large if you want more houses go ahead

Step 5: now get out of SAMP and go to scriptifiles folder in ur samp server folder, there should be 5 .txt files named step1 2 3 4 and 5

Step 6: ok now there the most hardest thing (for noobies) open your gamemode script and do step 1 and 2 (very very easy)

Step 7: in your game mode go to the finish of script and copy this:

Quote:

//--------------------------houses----------------------------------------------

public OnPlayerPickUpPickup(playerid, pickupid)
{
THERE COPY STEP 3
return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
THERE COPY STEP 4
return 1;
}

public OnPlayerExitedMenu(playerid)
{
FINISH HERE COPING STEP 5
return 1;
}

Step 8: now select all the text on ur script (left click and select all) and pres shoft + tab like 5 or 6 times

Step 9: compile it and vuala

NOTE: before doing this u must go to your gamemode script and where are all the includes put this #include <KIHC>


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Kapil - 10.07.2007

thx alot vAx1OnE, I have updated my first script, it also includes a EXAMPLE file, in pastebin

Quote:

When I try to compile it sais that PAWN.exe need to exit and isnt responding help please !

Quote:

Hmm whats wrong.

Makesure u have copied the code in the STEPS completely, coz if u just for get to include " } " ur compiler crashes. And also if u copy a code which u have to paste it in OnPlayerPickupPickup or something to some where else ur server might crash. If u still get errors and Compiler crashes PM me your complete script using pastebin.

Quote:

I did /build large 5 times and 5 small .. but ill try again later with a clean gamemode

You actually needed to do /build house small, /build house large etc. This time I forgive U

Quote:

Could someone post what to put in your code if you dont have "OnPlayerPickUpPickup" and all those.... ? PLEASE

You can have it from the EXAMPLE file

Quote:

Where is source? i think you zipped wrong file..

do u mean .pwn file ? Check the download's tab in my main post.


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - BlackJack69 - 10.07.2007

I was waiting for this, you own Kapil!


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Kapil - 10.07.2007

KIHC has been updated, Pliz refer the FIRST POST


Re: FS] - KAPIL's Instant House Constructions - ( KIHC ) is out !!! - Maikel - 10.07.2007

Nice, Kapil.