Jump to content

hello i am getting this error on webconsole and it stops my server


Recommended Posts

Oof, the addaction command is missplaced, you need to move the addAction before the last ";

init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_MAR_Station_Shop"",life_fnc_weaponShopMenu,""f_station_store""];this addAction[localize""STR_Shop_Station_Coffee"",life_fnc_virt_menu,""f_station_coffee""];"; this addAction["Rob the Gas Station",life_fnc_robstore];

Link to comment
Share on other sites

4 hours ago, AngryHerring ッ ®™ said:

Oof, the addaction command is missplaced, you need to move the addAction before the last ";

init="this enableSimulation false; this allowDamage false; this addAction[localize""STR_MAR_Station_Shop"",life_fnc_weaponShopMenu,""f_station_store""];this addAction[localize""STR_Shop_Station_Coffee"",life_fnc_virt_menu,""f_station_coffee""];"; this addAction["Rob the Gas Station",life_fnc_robstore];

That should of given him an error when putting the addaction in the init of the object. Any way, below is the way it should be for the OP.

 

this enableSimulation false; 
this allowDamage false; 
this addAction["Rob the Gas Station",life_fnc_robstore];
this addAction[localize"STR_MAR_Station_Shop",life_fnc_weaponShopMenu,"f_station_store"];
this addAction[localize"STR_Shop_Station_Coffee",life_fnc_virt_menu,"f_station_coffee"]; 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.