SA-MP Forums Archive
[Include] [ MIC ] - [ Make It Comfortable ] - [ 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] [ MIC ] - [ Make It Comfortable ] - [ Redefined ] (/showthread.php?tid=12909)

Pages: 1 2 3


[ MIC ] - [ Make It Comfortable ] - [ Redefined ] - Kapil - 19.09.2007

___________________________________________________________________________________________________________________________________________________ _________________________________________________ _________________________________________________ _________________________________________________[*]Affiliates


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - kc - 19.09.2007

sweeeet!!! That sounds awesome. Downloading now...


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - nate660 - 19.09.2007

OMG!!! KIBC i was waiting on that for 5 weeks now thanks alot kapil your the best


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - Alejandro - 19.09.2007

oh this is dope... i gotta scope this out. thanks kapil.


Usage - Kapil - 19.09.2007

------------------------------------------------------------------------

SetPlayerCheckPoint(playerid,Float,Float:y,Float :z,Floatize)

Float - x co-ordinate of the checkpoint position.
Float:y - y co-ordinate of the checkpoint position.
Float:z - z co-ordinate of the checkpoint position.

returns - checkpointid.

E.G
new cpid = SetPlayerCheckPoint(playerid,134.244,323.4554.64.4 44);

-------------------------------------------------------------------

strcut(string[],substring[])


string - the string which u want to remove a substring.
substring - the part of string which u want to remove.

E.G
strcut(string,"king");

-------------------------------------------------------------------

fline(File:handle,line)

File:handle - the file handler which u have used to open the file.
line - the line number which you want to seek.

E.G
fline(handler,23);

--------------------------------------------------------------------

AddStaticHouse(Float,Float:y,Float:z,Float:ix,Fl oat:iy,Float:iz,ii)

Float - the x co-ordinate of the house.
Float:y - the y co-ordinate of the house.
Float:z - the z co-ordinate of the house.
Float:ix - the ix co-ordinate of interior of the house.
Float:iy - the iy co-ordinate of interior of the house.
Float:iz - the iz co-ordinate of interior of the house.
ii - the interior id of interior of the house.

returns - houseid

E.G
AddStaticHouse(2312.233,233.323,3245.54234,43.4656 ,235.2214,123.5668,4);

---------------------------------------------------------------------

AddStaticBiz(Float,Float:y,Float:z,Float:ix,Floa t:iy,Float:iz,ii)

Float - the x co-ordinate of the biz.
Float:y - the y co-ordinate of the biz.
Float:z - the z co-ordinate of the biz.
Float:ix - the ix co-ordinate of interior of the biz.
Float:iy - the iy co-ordinate of interior of the biz.
Float:iz - the iz co-ordinate of interior of the biz.
ii - the interior id of interior of the biz.

returns - bizid

E.G
AddStaticBiz(2312.233,233.323,3245.54234,43.4656,2 35.2214,123.5668,4);

--------------------------------------------------------------------

EnableBlockAmmu(toggle)

toggle - 1 if yes , 0 if no

E.G
EnableBlockAmmu(1);

---------------------------------------------------------------------

MakeAmmu(slot1,slot2,slot3,slot4,slot5,slot6,slot7 )

slot1 - the first menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot2 - the second menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot3 - the third menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot4 - the four menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot5 - the five menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot6 - the six menu row in ammu-nation menu.( 1 if enable, 0 if disable)
slot7 - the seven menu row in ammu-nation menu.( 1 if enable, 0 if disable)

returns - ammuid

E.G
MakeAmmu(1,1,1,1,1,0,0)

-------------------------------------------------------------

SetWeaponCost(ammuid,weaponid,cost)

weaponid - It can be determined by xy
where x is the row in the main ammu menu
and y is the row in the second ammu menu.
E.G
SetWeaponCost(ammu1,11,435);

---------------------------------------------------------------

EnableChatSystem(toggle)

toggle - 1 if yes, 0 if no.

E.G
EnableChatSystem(1);

---------------------------------------------------------------

SavePlayer(playerid,info[],value[])

info - is the information about the player.
value - is the value for that particular informatin.

E.G
SavePlayer(playerid,"Health","12.55");

---------------------------------------------------------------

LoadPlayer(playerid,info[],value[])

info - is the information about the player.
value - is the value for that particular informatin.

returns - 1 if info found, 0 if not found.

E.G
LoadPlayer(playerid,"Health",string);

---------------------------------------------------------------

SaveProperty(name[],info[],value[])

name - name of the property.
info - is the information about the player.
value - is the value for that particular informatin.

E.G
SaveProperty("Deaths","Shreyon","3");

---------------------------------------------------------------

LoadProperty(name[],info[],value[])

name - name of the property.
info - is the information about the player.
value - is the value for that particular informatin.

returns - 1 if found, 0 if not found.

E.G
LoadProperty("Deaths,"Shreyon",string);


-------------------------------------------------------------------

ToggleClock(toggle)

toggle - 1 if yes, 0 if no.

E.G
ToggleClock(1);

-------------------------------------------------------------------

EnableFuelSystem(toggle)

toggle - 1 if yes, 0 if no.

E.G
EnableFuelSystem(1);

-------------------------------------------------------------------



Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - nate660 - 19.09.2007

Are you serious an addstatichouse thats sweet Well all and all i think its one of the greatest releases i have seen for a while


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - Alejandro - 19.09.2007

how does the addstatichouse work? like yea.. how does it work?


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - El0vric - 19.09.2007

Sweet... Will try it.


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - Kapil - 19.09.2007

Quote:
Originally Posted by Alejandro
how does the addstatichouse work? like yea.. how does it work?
I am creating a page on wiki, please be patient, I will give u the link.

EDIT: Click ME


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - Pentel - 19.09.2007

Thanks a lot! Great . Are you ever going to add something like in KIHC with /build ?


Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - almighty - 19.09.2007

when i agree the mic think and i try to compile it give me this errors...
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(376) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(615) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(631) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(640) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(649) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(759) : warning 235: public function lacks forward declaration (symbol "OnPlayeFeeerBiz")
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(777) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(1162) : error 017: undefined symbol "GetPlayervalues"
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(1163) : error 017: undefined symbol "value_SECONDARY_ATTACK"
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(1161) : warning 203: symbol is never used: "lr"
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(1161) : warning 203: symbol is never used: "ud"
C:\Users\Walter\Desktop\Nueva carpeta\pawno\include\MIC.inc(1359) : warning 200: symbol "IsPlayerAllowedInHouseInHouseIn" is truncated to 31 characters
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1040) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1042) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(104 : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1050) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1056) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(105 : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1064) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1066) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1072) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1074) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1086) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1102) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(110 : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1119) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1131) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1140) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1146) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1149) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1180) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1206) : warning 217: loose indentation
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1032) : warning 204: symbol is assigned a value that is never used: "tmp"
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1031) : warning 203: symbol is never used: "idx"
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1031) : warning 203: symbol is never used: "moneys"
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1030) : warning 204: symbol is assigned a value that is never used: "cmd"
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1027) : warning 203: symbol is never used: "playermoney"
C:\Users\Walter\Desktop\Nueva carpeta\gamemodes\rpg.pwn(1926) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.
how to fix them?


Re: INC] Make It Comfortable - [ M.I.C ] version 0.2 BETA - Kapil - 20.09.2007

sorry guys It was my mistake,I have uploaded the set of old files 0.1 BETA version updated to 0.2 BETA, so re-downlaod it.

EDIT: Updated to 0.21 BETA, now it has Administrative functions too.(mic_admin)

HAVE FUN !


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.21 BETA - [LSB]TheGame - 20.09.2007

koo koo


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - Kapil - 20.09.2007

Updated To 0.23 BETA

-o Menu Sizes and Positions fixed.
-o House and Biz icons have been changed.
-o False server Logging was fixed.
-o IsPlayerAllowedInHouseInHouse was changed to IsPlayerAllowedInHouse
-o Color defines have been removed, as they were causing errors.




Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - [LSB]TheGame - 20.09.2007

isit ok to use now?


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - Kapil - 20.09.2007

Quote:
Originally Posted by [LSB
TheGame ]
isit ok to use now?
yes u can download it and use it, its not like KIHC that u need to rebuild everything after every update, after a update u can just install it and no other changes are needed, everything are upgraded automatically.



Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - [LSB]TheGame - 20.09.2007

koo Kapil so you dont add houses you just add the filterscript then its done?


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - Kapil - 20.09.2007

Quote:
Originally Posted by [LSB
TheGame ]
koo Kapil so you dont add houses you just add the filterscript then its done?
yes all u need to do is get the co-ordinates and thats all, and a house is waiting for U !!!!

by the by this is a INCLUDES !!! LIBRARY OF FUNCTIONS !!! not FILTERSCRIPT !!!


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - [LSB]TheGame - 20.09.2007

coordinates of the houses


Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - Warriors_Tornado - 20.09.2007

can i make binzes with it?
and how?
is there commands