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
Script Help Need help with my script
ooadrianoo Offline
Member

Posts: 82
Threads: 29
Joined: Apr 2012
Reputation: 0
#1
Need help with my script

Hello everyone,
this script doesn't work. "icounter" must be declared and expression must be in boolean type.

PHP Code: (Select All)
void OnStart()
{
int icounter 1;
}

void counter(string &in asStickyAreastring &in asBodyName)
{
if (
icounter 2) ++icounter
Here^ "icounter" should be declared
PHP Code: (Select All)
else GiveSanityBoostSmall();


I don't need to declare "icounter". I could be in boolean type but I don't know why it doesn't work this way.

Any suggestions?
(This post was last modified: 05-25-2013, 11:00 PM by ooadrianoo.)
05-25-2013, 10:41 PM
Find


Messages In This Thread
Need help with my script - by ooadrianoo - 05-25-2013, 10:41 PM
RE: Need help with my script - by Bridge - 05-26-2013, 12:40 AM
RE: Need help with my script - by TheGreatCthulhu - 05-26-2013, 12:58 AM
RE: Need help with my script - by ooadrianoo - 05-26-2013, 04:53 PM
RE: Need help with my script - by Bridge - 05-26-2013, 06:30 PM



Users browsing this thread: 1 Guest(s)