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:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Wall script
Saren Offline
Member

Posts: 196
Threads: 20
Joined: Jan 2012
Reputation: 1
#1
Wall script

Okay so I got this script about breaking a wall but the game dose'nt like it for some reason, can anyone spot a flaw?
AddUseItemCallback("Hammer & Chipper", "cell_breakable_wall_1", "BreakWall", true);
void BreakWall("Hammer & Chipper" , "cell_breakable_wall_1");
{
SetSwingDoorLocked("cell_breakable_wall_1", false, true);
PlaySoundAtEntity("", "unlock_door", "cell_breakable_wall_1", 0, false);
SetPropHealth("cell_breakable_wall_1", 0);
}

(This post was last modified: 03-08-2012, 06:50 PM by Saren.)
03-06-2012, 11:53 AM
Find


Messages In This Thread
Wall script - by Saren - 03-06-2012, 11:53 AM
RE: Wall script - by flamez3 - 03-06-2012, 12:02 PM
RE: Wall script - by Saren - 03-06-2012, 12:08 PM
RE: Wall script - by flamez3 - 03-06-2012, 12:22 PM
RE: Wall script - by Saren - 03-06-2012, 12:26 PM
RE: Wall script - by flamez3 - 03-06-2012, 01:04 PM
RE: Wall script - by Saren - 03-06-2012, 01:55 PM
RE: Wall script - by flamez3 - 03-06-2012, 02:38 PM
RE: Wall script - by Saren - 03-06-2012, 02:42 PM
RE: Wall script - by flamez3 - 03-06-2012, 03:01 PM
RE: Wall script - by Saren - 03-06-2012, 03:14 PM
RE: Wall script - by flamez3 - 03-06-2012, 03:30 PM
RE: Wall script - by Saren - 03-06-2012, 03:38 PM
RE: Wall script - by Saren - 03-06-2012, 11:17 PM
RE: Wall script - by Your Computer - 03-07-2012, 12:05 AM
RE: Wall script - by Saren - 03-07-2012, 12:12 AM
RE: Wall script - by Your Computer - 03-07-2012, 12:27 AM
RE: Wall script - by flamez3 - 03-07-2012, 02:34 AM
RE: Wall script - by Saren - 03-07-2012, 07:52 AM
RE: Wall script - by flamez3 - 03-07-2012, 08:29 AM
RE: Wall script - by Saren - 03-07-2012, 09:02 AM
RE: Wall script - by flamez3 - 03-07-2012, 09:19 AM
RE: Wall script - by Saren - 03-07-2012, 09:21 AM
RE: Wall script - by flamez3 - 03-07-2012, 11:17 AM
RE: Wall script - by Saren - 03-07-2012, 11:19 AM
RE: Wall script - by Your Computer - 03-07-2012, 11:23 AM
RE: Wall script - by flamez3 - 03-07-2012, 11:32 AM
RE: Wall script - by Saren - 03-07-2012, 11:57 AM
RE: Wall script - by flamez3 - 03-07-2012, 12:34 PM
RE: Wall script - by Saren - 03-07-2012, 02:47 PM
RE: Wall script - by flamez3 - 03-07-2012, 03:28 PM
RE: Wall script - by Saren - 03-07-2012, 08:07 PM
RE: Wall script - by flamez3 - 03-07-2012, 11:12 PM
RE: Wall script - by Ardoetia - 03-08-2012, 04:27 AM
RE: Wall script - by Saren - 03-08-2012, 07:54 AM
RE: Wall script - by flamez3 - 03-08-2012, 08:12 AM
RE: Wall script - by Saren - 03-08-2012, 08:40 AM
RE: Wall script - by flamez3 - 03-08-2012, 11:18 AM
RE: Wall script - by Saren - 03-08-2012, 11:29 AM
RE: Wall script - by flamez3 - 03-08-2012, 11:32 AM
RE: Wall script - by Saren - 03-08-2012, 11:38 AM
RE: Wall script - by flamez3 - 03-08-2012, 12:20 PM
RE: Wall script - by Saren - 03-08-2012, 12:36 PM
RE: Wall script - by flamez3 - 03-08-2012, 12:38 PM
RE: Wall script - by Saren - 03-08-2012, 04:14 PM



Users browsing this thread: 1 Guest(s)