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
PropHealth problem
Quotentote Offline
Member

Posts: 118
Threads: 23
Joined: Dec 2011
Reputation: 11
#1
PropHealth problem

hi want that a plate breaks when the player enters an area: so heres the script

PHP Code: (Select All)
void OnStart()
{
AddEntityCollideCallback("Player""ScriptArea_1""opendoor"true1);
}

void opendoor(string &in asEntity)
{
        
SetPropHealth("plate_9"0.0f);


why wont this work Sad

Cruel ways 2: Something went wrong
8.04.2012


(This post was last modified: 04-07-2012, 04:20 AM by Quotentote.)
04-07-2012, 03:32 AM
Find


Messages In This Thread
PropHealth problem - by Quotentote - 04-07-2012, 03:32 AM
RE: PropHealth problem - by Strembitsky - 04-07-2012, 03:48 AM
RE: PropHealth problem - by Homicide13 - 04-07-2012, 03:55 AM
RE: PropHealth problem - by Quotentote - 04-07-2012, 04:19 AM



Users browsing this thread: 1 Guest(s)