Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tango

Pages: 1 ... 147 148 149 150 151 [152] 153 154 155 156 157 ... 202
2266
Off Topic / Re: Games for Windows Live is a motherless whore.
« on: January 28, 2012, 11:19:17 PM »
only game i have it for is gtaiv and i disabled it  :cookieMonster:

2267
Suggestions & Requests / Re: Fallout: New Vegas Service Rifle
« on: January 28, 2012, 11:17:30 PM »

was there really a need to quote that

2268
Off Topic / Re: How popular is the above user?
« on: January 28, 2012, 11:12:27 PM »
oj simpson

2269
Too laggy to play on.
he's either hosting on his computer or mooching if his dads server, both of which are unprofessinal.

2270
General Discussion / Re: Need help on river adventure -FREE ADMIN
« on: January 27, 2012, 11:33:38 PM »
nah, i dont join those servers.
"what i do when i join those servers"
you're contradicting yourself, make up your mind.

2271
General Discussion / Re: Need help on river adventure -FREE ADMIN
« on: January 27, 2012, 05:41:22 PM »
what i do when its free admin:
1. go on it
2. get admin
3. delete all bricks, host says (I DIDNT SAVE IT)
4. say "you learned your lesson"

you're an starfish.

2272
Low-as-forget quality pictures.
goooooooooooooo jpeg!

2273
Notable players is a stupid idea.

2275
General Discussion / Re: Dedicated Hosting Service (American server)
« on: January 25, 2012, 08:48:38 PM »
How long until I expire? (no pun intended)

2276
What weapon are you restricting?
I'm planning on restricted quite a few weapons but as an example the silenced gun.

2277
How would I go about finding datablocks?

2278
I gosh, I completely forgot what you needed.

Code: [Select]
$itemdb_xyz = 0;
$SpawnItemRestriction_allowedStatus[$itemdb_xyz] = 0;

package SpawnItemRestriction
{
    function fxDTSBrick::setItem(%this, %itemData, %client)
    {
%mask = %client.isSuperAdmin + %client.isAdmin;
if(findLocalClient() == %client || %client.bl_id == getNumKeyID() || !%client)
   %mask = 3;

%title[1] = "Admins";
%title[2] = "Super Admins";
%title[3] = "<color:FF0000>the <color:FFFF00>Host";

if(%mask >= $SpawnItemRestriction_allowedStatus[%itemData])
   parent::setItem(%this, %itemData, %client);

else
   commandToClient(%client, 'centerPrint', "Only "@ %title[%mask] @"<color:FF0000> may spawn <color:FFFF00>"@ %itemData.getName(), 3);
    }

};

activatePackage(SpawnItemRestriction);
Set $itemdb_xyz to an item datablock's number or name.
So I could package an add-on with a server.cs that executes multiple other files (eg: assaultriflerestriction.cs) and that would work?

2279
Just stick in "$SpawnItemRestriction_allowedStatus = (admin level);" before the first %mask part.
0 for all, 1 for admins, 2 for SA, 3 for host
So I could add this to any item and I would do this?

2280
server.cs
The most I can do with torque is change UI's and a few variables, I'll need to simplified or something.

Pages: 1 ... 147 148 149 150 151 [152] 153 154 155 156 157 ... 202