Ulysses
Ulysses Stuff => General Chat & Help and Support => Topic started by: Megiddo on June 02, 2007, 12:39:13 PM
-
This is a really simple modification!
Step 1
Find:
player:AddCleanup( "props", newent )
At or near line 121.
Add after that line:
gamemode.Call( "PlayerSpawnedProp", player, ent:GetModel(), newent )
Step 2
Find:
if ( !self:GetSWEP():CheckLimit( "props" ) ) then break end
At or near line 68.
Add after that line:
if ( !gamemode.Call( "PlayerSpawnProp", player, ent:GetModel() ) ) then break end
You're done! Told you it was easy!
-
There is a bug with this method, each props stacked count as 2.
To fix it, comment this line with // (or remove it), like that://player:AddCount( "props", newent )
which is the line just beforeplayer:AddCleanup( "props", newent )
-
Thanks kyzer. I've had this modified on my server but was too lazy to put it back on here. :)
-
Thanks