Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Amnesia simple script help
theodorg Offline
Junior Member

Posts: 44
Threads: 11
Joined: Aug 2013
Reputation: 0
#3
RE: Amnesia simple script help

(08-27-2014, 03:53 PM)First Captain Wrote: NOTE: Works on any item
PHP Code: (Select All)
void GiveItem(stringasNamestringasTypestringasSubTypeNamestringasImageNamefloat afAmount); 
asName - internal name
asType - item to give
asSubTypeName - item name for .lang file
asImageName - For exemple: void GiveItem(string& asName, string& asType, “chemical_container_full”, “chemical_container_full.tga” , float afAmount); The image is from <nowiki> <nowiki> <nowiki>\ </nowiki> </nowiki> </nowiki> graphics\Item\chemical_container_full.tga : is the image which will appear in Inventory - img155.imageshack.us/img155/6871/20806785.jpg
afAmount - amount to give

Thanks

(08-27-2014, 03:53 PM)First Captain Wrote: NOTE: Works on any item
PHP Code: (Select All)
void GiveItem(stringasNamestringasTypestringasSubTypeNamestringasImageNamefloat afAmount); 
asName - internal name
asType - item to give
asSubTypeName - item name for .lang file
asImageName - For exemple: void GiveItem(string& asName, string& asType, “chemical_container_full”, “chemical_container_full.tga” , float afAmount); The image is from <nowiki> <nowiki> <nowiki>\ </nowiki> </nowiki> </nowiki> graphics\Item\chemical_container_full.tga : is the image which will appear in Inventory - img155.imageshack.us/img155/6871/20806785.jpg
afAmount - amount to give

Okay actully what i want to do is making the lantern unavailble for the player with timers under a certain time thats kinda scary.
(This post was last modified: 08-27-2014, 04:01 PM by theodorg.)
08-27-2014, 03:54 PM
Find


Messages In This Thread
Amnesia simple script help - by theodorg - 08-27-2014, 03:47 PM
RE: Amnesia simple script help - by theodorg - 08-27-2014, 03:54 PM
RE: Amnesia simple script help - by theodorg - 08-27-2014, 04:04 PM



Users browsing this thread: 1 Guest(s)