[Include] [ KIHC ] - [ Kapils Instant House Constructions ] - [ Redefined ]
#61

Quote:
Originally Posted by [03
Garsino ]
Yeah but the reason why you're getting errors is the low knowledge of your copy paste skills.
no.......Not realy........ U make urself belive this BS ?
Reply
#62

when i use this i cant see other people in the server is it because of
C:\Users\Brian\Desktop\Windows R4\pawno\include\steam.inc(232) : warning 201: redefinition of constant/macro (symbol "OnGameModeInit")
C:\Users\Brian\Desktop\Windows R4\pawno\include\KIHC.inc(690) : warning 201: redefinition of constant/macro (symbol "OnPlayerPickUpPickup")
if so can some one tell me what i have to change it to?
Reply
#63

Very nice work!!
Great for roleplays!!
Reply
#64

Question:

If a add this and i use GF mode and than buy house i will spawn in my house or on a spawn place??
Reply
#65

I'm getting errors as well. All includes added, and everything done perfect. Still errors. This use to work with 0.2 and now at 0.3 it wont...
Reply
#66

I really like it. And I needed This Verry mutch. Thank you but are there Commados?


(sorry for bad english
Reply
#67

Код:
../include/gl_common.inc(151) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(97) : error 025: function heading differs from prototype
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(98) : error 021: symbol already defined: "strtok"
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(113) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(120) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(124) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
I downloaded struct.inc, steam.inc and KIHC.inc, put them into includes, type #include <KIHC> into gamemode and get that result. Any ideas what is wrong?
Reply
#68

Код:
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(50) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(109) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(115) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(119) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(125) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(129) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(133) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(140) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(187) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dini.inc(214) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(111) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(117) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(123) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(129) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(136) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\dudb.inc(142) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(97) : error 025: function heading differs from prototype
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(98) : error 021: symbol already defined: "strtok"
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(113) : error 047: array sizes do not match, or destination array is too small
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(120) : error 047: array sizes do not match, or destination array is too small
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(124) : error 047: array sizes do not match, or destination array is too small
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\pawno\include\KIHC.inc(582) : error 047: array sizes do not match, or destination array is too small
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\gamemodes\1.8.pwn(557) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\gamemodes\1.8.pwn(5375) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\gamemodes\1.8.pwn(5412) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\gamemodes\1.8.pwn(6167) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Billys\Desktop\НЭпт цЬкелпт (8)\gamemodes\1.8.pwn(18733) : warning 219: local variable "name" shadows a variable at a preceding level
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
How to fix that pls?
Reply
#69

Quote:
Originally Posted by scurky
Код:
../include/gl_common.inc(151) : warning 219: local variable "key" shadows a variable at a preceding level
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(97) : error 025: function heading differs from prototype
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(98) : error 021: symbol already defined: "strtok"
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(113) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(120) : error 047: array sizes do not match, or destination array is too small
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\KIHC.inc(124) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
I downloaded struct.inc, steam.inc and KIHC.inc, put them into includes, type #include <KIHC> into gamemode and get that result. Any ideas what is wrong?
I just fixed that error, All you do is

Go to Pawno>Includes>Gl_Common and go to the bottem of the .inc and you should see a this

pawn Код:
stock IsKeyJustDown(key, newkeys, oldkeys)
{
    if((newkeys & key) && !(oldkeys & key)) return 1;
    return 0;
}
Delete that.

For the others, Go into The KIHC.inc and search "strtork" Delete everything that is stock strtok.

That should fix it.
Reply
#70

i dont see a download link.
Reply
#71

Can someone upload the .inc files plz...

@Kapil, You should include whats needed.

EG the other .inc files...
Reply
#72

struct.inc and steam.inc links are down , can anybody upload it ?
Reply
#73

this script was dead long time.. no point of re-bumping it now.
Reply
#74

Very nice Script, cant find anything wrong with it (;
Reply
#75

It doesn't work ... this script was written like 5 years ago, for some old SA-MP version! :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)