| Blockland Forums > Modification Help |
| Blocking Item Spawning |
| << < (5/6) > >> |
| Kalphiter:
Too many parameters. The parameters are: fxDTSBrick::setItem(%this, %itemData, %client) |
| Giovan:
I knew that. |
| Giovan:
--- Code: ---package RP_Noitems { function fxDtsBrick::setItem(%this, %itemdata, %client) { if(%client.isAdmin || %client.isSuperAdmin) parent::spawnItem(%brick, %pos, %datablock, %client); else messageClient(%client, '', "\c6You cannot just spawn an item."); } }; activatePackage(RP_Noitems); --- End code --- At the end of server.cs. |
| otto-san:
again, you need to change the parent. |
| Reinforcements:
I hate restricted events on city RPs. |
| Navigation |
| Message Index |
| Next page |
| Previous page |