[FilterScript] [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy
#2

Tutorial

Allowing Admins/Non Admins to mess with your teleports!

Depending on your situation, you may want Non-Admins to have teleport making powers, in which case the following tutorial will instruct you! Also, if you use a "foreign" admin script, like Ladmin, gadmin, xadmin.. the list goes on.. you may not want people using your RCON logon!

1.) Load the telesystem.pwn in a PAWN editing client (I use PAWNO)

2.) Locate the stock at the top of the script, that by default looks like this: (It's in the Edit box)

pawn Код:
stock AdminCheck(playerid)
{
    if(IsPlayerAdmin(playerid)) return 1;
    return 0;
}
3.) To enable anyone to use the teleport commands, change it to:

pawn Код:
stock AdminCheck(playerid)
{
    #pragma unused playerid
    return 1;
}
4.) To allow "foreign" admin script admins to use the the admin script commands, you will have to locate the IsPlayerAdmin command specific to that script. In the case of LAdmin, it would look something like:

pawn Код:
#include <IsPlayerLAdmin>
pawn Код:
stock AdminCheck(playerid)
{
    if(IsPlayerLAdmin(playerid) || IsPlayerAdmin(playerid)) return 1;
    return 0;
}

_________________________________________________

Changing Message Colour

This is fairly elementary, but i'm sure somebody will be wondering..

1.) Load the telesystem.pwn in a PAWN editing client (I use PAWNO)

2.) Locate the following line:

pawn Код:
#define COMMAND_COLOUR 0xFF00FFFF
3.) Change 0xFF00FFFF to suit your needs. If you're not sure about this, try a colour picking client like the one HERE
Reply


Messages In This Thread
[FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Weirdosport - 14.04.2009, 11:15
Re: [FS] Teleport System - Create, Use, Share! by Thomas_Conroy - by Weirdosport - 14.04.2009, 11:17
Re: [FS] Teleport System - Create, Use, Share! by Thomas_Conroy - by ultras - 15.04.2009, 00:09
Re: [FS] Teleport System - Create, Use, Share! by Thomas_Conroy - by Weirdosport - 15.04.2009, 21:12
Re: [FS] Teleport System - Create, Use, Share! by Thomas_Conroy - by [IB]Scorcher - 16.04.2009, 00:36
Re: [FS] Teleport System - Create, Use, Share! by Thomas_Conroy - by Weirdosport - 19.04.2009, 20:22
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by miokie - 20.04.2009, 10:01
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by MenaceX^ - 20.04.2009, 12:05
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Weirdosport - 21.04.2009, 15:52
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Youtube - 29.11.2009, 10:23
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by willsuckformoney - 09.03.2010, 02:17
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by [Ha]Lommo - 13.04.2010, 19:20
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by ViruZZzZ_ChiLLL - 13.04.2010, 19:48
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Stunt-Andreas - 24.04.2010, 17:03
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by IanDaCJ - 01.05.2010, 13:20
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by [MWR]Blood - 01.05.2010, 13:21
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Weirdosport - 02.05.2010, 16:49
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by IanDaCJ - 08.05.2010, 10:22
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by VioletRain - 10.05.2010, 20:16
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by IanDaCJ - 12.05.2010, 21:10
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by Keymon - 31.01.2014, 16:10
Re : [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by LOCS - 22.11.2014, 18:10
Re: [FS] Teleport System - [VERSION 2] Create, Use, Share! by Thomas_Conroy - by NitroZeth - 06.05.2017, 17:02

Forum Jump:


Users browsing this thread: 3 Guest(s)