The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
bug in my script!
SLAMnesia Offline
Member

Posts: 99
Threads: 39
Joined: May 2011
Reputation: 0
#1
bug in my script!

heres my script:

AddUseItemCallback("", "shank1", "shanktegrunt", "ShankFunc", true);

void ShankFunc(string &in asItem, string &in asEntity)
{
SetEntityActive("shanktegrunt", false);
RemoveItem("shank1");
}

it doesnt error, it just doesnt work (its very basic I know) but is there some game error where you cant use the "ceremony_knife.ent" on a grunt? I want the player to shank the grunt with it and (for now) have the grunt disappear but he doesnt :\
06-22-2011, 08:58 PM
Find


Messages In This Thread
bug in my script! - by SLAMnesia - 06-22-2011, 08:58 PM
RE: bug in my script! - by Roenlond - 06-22-2011, 09:27 PM
RE: bug in my script! - by rojkish - 06-22-2011, 09:35 PM
RE: bug in my script! - by SLAMnesia - 06-22-2011, 11:58 PM
RE: bug in my script! - by rojkish - 06-23-2011, 01:27 AM
RE: bug in my script! - by xiphirx - 06-23-2011, 03:17 AM
RE: bug in my script! - by Rownbear - 06-23-2011, 03:31 AM
RE: bug in my script! - by rojkish - 06-23-2011, 03:34 AM
RE: bug in my script! - by Rownbear - 06-23-2011, 08:49 PM
RE: bug in my script! - by rojkish - 06-23-2011, 08:59 PM
RE: bug in my script! - by SLAMnesia - 06-24-2011, 08:24 PM



Users browsing this thread: 1 Guest(s)