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
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.
was there really a need to quote that
Too laggy to play on.he's either hosting on his computer or mooching if his dads server, both of which are unprofessinal.
nah, i dont join those servers."what i do when i join those servers"
what i do when its free admin:you're an starfish.
1. go on it
2. get admin
3. delete all bricks, host says (I DIDNT SAVE IT)
4. say "you learned your lesson"
Low-as-forget quality pictures.goooooooooooooo jpeg!
What weapon are you restricting?I'm planning on restricted quite a few weapons but as an example the silenced gun.
I gosh, I completely forgot what you needed.So I could package an add-on with a server.cs that executes multiple other files (eg: assaultriflerestriction.cs) and that would work?Code: [Select]$itemdb_xyz = 0;Set $itemdb_xyz to an item datablock's number or name.
$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);
Just stick in "$SpawnItemRestriction_allowedStatus = (admin level);" before the first %mask part.So I could add this to any item and I would do this?
0 for all, 1 for admins, 2 for SA, 3 for host
server.csThe most I can do with torque is change UI's and a few variables, I'll need to simplified or something.