Blockland Forums > Modification Help

Checking to see if a player is an Admin using callback

Pages: (1/2) > >>

Tango:

I asked Nullable about seeing if you can restrict just one weapon to admins spawning it. How would I go about doing this?

Kalphiter:

server.cs

Tango:


--- Quote from: Kalphiter on January 25, 2012, 08:14:52 PM ---server.cs

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

Kalphiter:

Just stick in "$SpawnItemRestriction_allowedStatus = (admin level);" before the first %mask part.
0 for all, 1 for admins, 2 for SA, 3 for host

Tango:


--- Quote from: Kalphiter on January 25, 2012, 08:18:01 PM ---Just stick in "$SpawnItemRestriction_allowedStatus = (admin level);" before the first %mask part.
0 for all, 1 for admins, 2 for SA, 3 for host

--- End quote ---
So I could add this to any item and I would do this?

Pages: (1/2) > >>

Go to full version