| Blockland Forums > Modification Help |
| Making my first script, trying to make a messaging system. But its not working. |
| << < (3/3) |
| tyler0:
--- Quote from: Amade on June 28, 2010, 03:45:06 PM ---No you didn't. Go back and look at the code where you copied it from and compare it to what you have. --- End quote --- I have the same thing. Nothing is different. This is my exact server.cs file. Do you know why its not showing up? |
| Amade:
--- Quote from: tyler0 on June 28, 2010, 04:27:34 PM ---I have the same thing. Nothing is different. This is my exact server.cs file. Do you know why its not showing up? --- End quote --- I meant this. --- Code: ---if(isFile("Add-Ons/System_ReturnToBlockland/server.cs")) { if(!$RTB::RTBR_ServerControl_Hook) exec("Add-Ons/System_ReturnToBlockland/RTBR_ServerControl_Hook.cs"); RTB_registerPref("Duplicator Timeout","Duplicator","Duplicator::Timeout","int 0 60","Tool_Duplicator",40,0,0); } else { $Duplicator::Timeout = 40; } --- End code --- You tried to add brackets under that second if statement but didn't put them in the right place. Your prefs would only be registered if $RTB::RTBR_ServerControl_Hook was 0. |
| tyler0:
Ok i think i got wat you said look at the top and see if thats what you ment. |
| Navigation |
| Message Index |
| Previous page |