[Include] [ MIC ] - [ Make It Comfortable ] - [ Redefined ]
#1

  • What
    MIC aka Make It Comfortable is a set of includes which provides more
    features to your scripts and helps you making them comfortably.
_________________________________________________
  • In It

    • [ steam ]

      Description:
      steam.inc' includes object steamer, map icon steamer,
      and a checkpoint steamer.

      Principle:
      It maintains the objects and map icons such that they show
      up only if a player is close enough using low draw distance
      for each player and element.

      For checkpoints the steamer checks the closest checkpoint
      to a player and sets them according to it.

      The steamer updates itself every 1/60th part of a minute.

      Functions / Callbacks:
      AddStaticIcon(Float,Float:y,Float:z,markertype,c olor);
      AddStaticObject(model,Float,Float:y,Float:z,Floa t:rx,Float:ry,Float:rz);
      CreateCheckpoint(Float,Float:y,Float:z,Floatiz e);
      DestroyCheckpoint(checkpointid);
      ShowCheckpointForPlayer(playerid,checkpointid);
      HideCheckpointForPlayer(playerid,checkpointid);
      ShowCheckpointForAll(checkpointid);
      HideCheckpointForAll(checkpointid);

      Must Note:
      More the number of objects less should be the draw distance.

      Download:



    • [ struct ]

      Description:
      'struct.inc' has a set of functions which makes
      it easy to store and load different types of data.

      Principle:
      It uses a file storage system which enables a server
      to have unlimited subnode and unlimited nodes.

      Functions / Callbacks:
      setDS(...);
      getDS(tostring[],...);
      isDS(...);

      Must Note:
      Though you a node can have unlimited subnodes,
      you might limit them as a string as a max length
      of only 256.

      Download:


    • [ crash ]

      Description:
      'crash.inc' is sort of extension with which
      you can easily find when, what, and why did
      your server crashes.

      Principle:
      It converts a script into a format such that
      it can detect every function which is running
      and logs it into a text file.

      Functions / Callbacks:
      none

      Must Note:
      - When you are using it, all the server functions
      and callbacks are logged in to a file 'log.txt'.
      You can find that file in your scriptfiles

      Download:



    • [ callback ]

      Description:
      'callback.inc' are a set of usefull callbacks which
      might be usefull for certain types of gamemodes.

      Principle:
      It assumes all the money given by the player as
      one variable and the money player has currently
      as another variable.
      If the amount of money
      player has is less than the money server
      has given to the player, then that means that the
      player has spent the money on certain places.
      if the amount of money player has is
      greater than the money server has given to
      the player then that means that the player has
      recived money ingame somehow.

      Functions / Callbacks:
      OnPlayerUseTransfender(playerid,amountspent)
      OnPlayerUsePaynSpray(playerid,amountspent)
      OnPlayerEatFood(playerid,amountspent)
      OnPlayerDrinkSprunk(playerid,amountspent)
      OnPlayerUseAmmuNation(playerid,amountspent)
      OnPlayerUseCasino(playerid,amountspent)
      OnPlayerHackMoney(playerid,money)

      Must Note:
      You must not use any filterscript, if you run
      a filterscript makesure it doesnt use GivePlayerMoney
      or ResetPlayerMoney functions.

      Download:


_________________________________________________
  • Installation

    - Once you have downloaded the file you wanted, you will need to extract them into your 'Server/pawno/include/'.
    - Open, your gamemode or the script you to install and add '#include <what ever u have downloaded>' at the top.
    - Compile It, to makesure they are compatible with your gamemode( If it doesnt compile post the errors in this topic ).

    Note: When you have downloaded more than one of 'MIC Redifined ' your includes
    should follow this pattern.

    #include <struct>
    #include <callback>
    #include <steam>
    #include <crash>
_________________________________________________
  • Examples

    [ struct ]

    setDS(playerName,WeaponID_string,Ammos_string);

    ammos = strval( getDS(playerName,WeaponID_string) );

    if(isDS(houseID,"Tenents",playerName))


    [ callback ]

    public OnPlayerUsePaynSpray(playerid,amountspent)
    {
    GivePlayerMoney(playerid,amountspent); // in this case, pay n sprays are free
    }


_________________________________________________ _________________________________________________
  • Note
    - You are free to use / modify / redistribute these files.
    - The files may or may not be compatible with all scripts.
    - Do not pm the author for any support.
    - Post queries / suggestions / bugs only in this topic.
    - The script will be updated without any special
    notification, you are supposed to check the file
    upload date in the download button to make sure
    you have the latest version of the files.

  • _________________________________________________
    Signatures









_________________________________________________[*]Affiliates
  • MIC -
    • 'Struct' - Save / Load data with flexible features.
    • 'Steam' - Stream map icons, objects, checkpoints at once.
    • 'Crash' - Detects when, why, who and how your server crashed.
    • 'Callback' - Triggers Single-Player events into your script.
  • CMN - Stop defending cheaters, its time to attack them.
  • KIHC - Build houses in the most easiest way ever possible.
  • MD - High quality user interferenced ingame map editing tool.
Reply


Messages In This Thread
[ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Kapil - 19.09.2007, 19:06
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by kc - 19.09.2007, 19:21
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by nate660 - 19.09.2007, 19:30
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by Alejandro - 19.09.2007, 19:36
Usage - by Kapil - 19.09.2007, 19:58
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by nate660 - 19.09.2007, 20:03
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by Alejandro - 19.09.2007, 20:08
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by El0vric - 19.09.2007, 20:15
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by Kapil - 19.09.2007, 20:22
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by Pentel - 19.09.2007, 21:21
Re: INC] Make It Comfortable - [ M.I.C ] version 0.1 BETA - by almighty - 19.09.2007, 23:06
Re: INC] Make It Comfortable - [ M.I.C ] version 0.2 BETA - by Kapil - 20.09.2007, 03:19
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.21 BETA - by [LSB]TheGame - 20.09.2007, 10:52
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 11:54
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by [LSB]TheGame - 20.09.2007, 11:57
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 12:09
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by [LSB]TheGame - 20.09.2007, 12:14
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 12:34
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by [LSB]TheGame - 20.09.2007, 12:37
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Warriors_Tornado - 20.09.2007, 12:50
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 12:56
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Warriors_Tornado - 20.09.2007, 14:02
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 14:31
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by steven - 20.09.2007, 14:45
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by IJzerenRita - 20.09.2007, 14:50
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by steven - 20.09.2007, 14:56
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Warriors_Tornado - 20.09.2007, 14:57
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Kapil - 20.09.2007, 15:10
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by Pentel - 20.09.2007, 15:30
Re: INC] - [ Make It Comfortable ] - M.I.C ] - version 0.23 BETA - by polgast - 20.09.2007, 15:50
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.1 - by BioFreeze - 28.03.2008, 17:57
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.1 - by [GTA] - 28.03.2008, 23:56
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.1 - by Kapil - 29.03.2008, 12:51
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.1 - by [GTA] - 30.03.2008, 00:50
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by Kapil - 30.03.2008, 09:25
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by BioFreeze - 30.03.2008, 16:22
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by frRic - 31.03.2008, 02:49
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by frRic - 31.03.2008, 15:53
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by ogjoost - 04.04.2008, 14:59
Re: [ Make It Comfortable aka MIC ] - [ Holiday Edition ] - Ver: h.e.2 - by SmartyPants - 16.04.2008, 09:19
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Jamould - 23.10.2008, 15:36
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Shell - 01.11.2008, 11:32
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Steve Vai - 13.12.2008, 07:53
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Dark_Kostas - 13.12.2008, 08:00
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Mikep - 22.01.2009, 02:27
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Remcconen - 24.05.2009, 08:25
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Remcconen - 27.05.2009, 13:46
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by GermanFighter - 09.08.2009, 11:02
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Lucas Giovanni - 29.11.2009, 22:47
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Juanxz - 22.01.2010, 14:21
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Slice - 18.11.2010, 11:22
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Ehab1911 - 19.11.2010, 00:06
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by The_Moddler - 19.11.2010, 00:08
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by wups - 19.11.2010, 16:31
Respuesta: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by anonymousx - 21.11.2010, 15:20
Re: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by Stefan_Toretto - 11.12.2010, 18:44
AW: [ MIC ] - [ Make It Comfortable ] - [ Redefined ] - by nescha - 25.11.2011, 19:08

Forum Jump:


Users browsing this thread: 1 Guest(s)