Menu

Show posts

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.

Show posts Menu

Messages - Retard

#91
Quote from: ! on Dec 22, 2017, 03:46 PM
Quote from: [VF]4L14HM3D on Dec 22, 2017, 02:47 PM
Quote from: =RK=MarineForce on Dec 22, 2017, 02:23 PM{
else MessagePlayer( " [#FF0000] Invalid Command Do /commands",player );
}
You Copied Mine and just changed the text lol
And you copied from already available scripts but didn't bother to give credits or at least the topic link.
I wrote it my self.I agree about the admin system but this i wrote my self
#92
Servers / Pakistan Theft Auto Reloaded
Dec 22, 2017, 03:00 PM
Hosted by:  Home hosting atleast 7 hours a day.
       Number of players slots: 100
    Scripts:  PTAR v1.5 (My own Script)
    IRC Channel:  #Not Added Yet.
Forum-- Will be added soon.
Specialty : Has it's own cool parkour ( With the second stage under construction ).
#93
Quote from: =RK=MarineForce on Dec 22, 2017, 02:23 PM{
else MessagePlayer( " [#FF0000] Invalid Command Do /commands",player );
}
You Copied Mine and just changed the text lol
#94
Add this in the end of your script

{
else MessagePlayer( "Invalid Command",player );
}
#95
Snippet Showroom / Re: Basic Admin System
Dec 22, 2017, 06:17 AM
Quote from: KuRiMi on Dec 15, 2017, 11:25 PM
Quote from: [VF]4L14HM3D on Dec 15, 2017, 11:22 AM
Quote from: Xmair on Dec 15, 2017, 10:35 AM
Quote from: [VF]4L14HM3D on Dec 15, 2017, 10:22 AM
Quote from: Xmair on Dec 15, 2017, 09:40 AMSo, will you please elaborate why is this stolen from here with no credits or mentions at all?
It is not Stolen from there.I made it my self for your information.
Each line matches exactly like used in that script. Even the messages, you didn't even bother to modify them at least lol.
Updated Credits Given

Remove your nick off the credits.
I extracted it
#96
Support / Re: IRC Suggest kindly help FBS
Dec 15, 2017, 01:18 PM
Can i be of Some Help?
#97
Snippet Showroom / Re: Basic Admin System
Dec 15, 2017, 11:22 AM
Quote from: Xmair on Dec 15, 2017, 10:35 AM
Quote from: [VF]4L14HM3D on Dec 15, 2017, 10:22 AM
Quote from: Xmair on Dec 15, 2017, 09:40 AMSo, will you please elaborate why is this stolen from here with no credits or mentions at all?
It is not Stolen from there.I made it my self for your information.
Each line matches exactly like used in that script. Even the messages, you didn't even bother to modify them at least lol.
Updated Credits Given
#98
Snippet Showroom / Re: Basic Admin System
Dec 15, 2017, 10:22 AM
Quote from: Xmair on Dec 15, 2017, 09:40 AMSo, will you please elaborate why is this stolen from here with no credits or mentions at all?
It is not Stolen from there.I made it my self for your information.
#99
Snippet Showroom / Basic Admin System
Dec 14, 2017, 02:32 PM
This basic admin system contains everything.You can use /admin <password> to login as admin.
This code is tested and works.It is made for a blank server.
Credits : @[VF]4L14HM3D ( it was extracted by me ) from  HERE
Place this at the top of your Script
const AdminPassword = "password" //You can edit this passwordNow add this after that on the top of your Script
class PlayerInfo
{
admin = false;
}
Now add this in  function onScriptLoad( )
pinfo <- array(GetMaxPlayers(), null);Now add this in functions.nut  ( If you dont have this add this at the last of your script )
function PlayerIsAdmin(player)
{
if(pinfo[player.ID].admin == true) return 1;
else return 0;
}
Add this in Function onPlayerJoin
pinfo[player.ID] = PlayerInfo();Add This in function onPlayerCommand
else if (cmd == "admin")
{
if(!text) ClientMessage( "-> Error: [#ffd700]Please type /admin <admin password>", player,255,0,102);
else if ( text != AdminPassword ) ClientMessage( "-> Error: [#ffd700]Invalid PASSWORD.", player,255,0,102);
else { ClientMessage( "-> [#00ffff]Welcome admin :). You are logged as admin server.", player,255,0,102); pinfo[player.ID].admin = true; }
}
Now the commands you want to make admin commands simply add
if (!PlayerIsAdmin(player))Example else if ( cmd == "kick" )
    {
       if (!PlayerIsAdmin(player)) ClientMessage("-> [#ccff00]You must be an admin to use this command.", player, 255,0,102);
        else if ( !text ) ClientMessage("-> Error - Invalid Format.[#ccff00] /kick <player> <reason>", player, 255,0,102);
        else
         {
            if ( i < 2 ) ClientMessage("-> Error - Invalid Format.[#ccff00] /kick <player> <reason>", player, 255,0,102);
            else
            {
                local plrr = GetPlayer( GetTok( text, " ", 1 ) ), reason = GetTok( text, " ", 2, i );
                if ( !plrr ) PrivMessage( player,"Error - Invalid Nick/ID.");
                else if ( plrr.ID == player.ID ) PrivMessage( player,"Error - You can't /kick yourself.");
                else
                {
ClientMessageToAll( "-> [#ccff00]Admin " + player + " kicked:[ " + plr + " ] Reason:[ " + reason + " ]" ,255,0,102);                   
                    KickPlayer( plrr ); Announce( "Bye bye", plrr, 3 );
                    }
                }
            }
        }       



#100
Nice Bro,Nice Work.
#101
Servers / Vice City Wars | by Ali Ahmed
Dec 12, 2017, 04:06 PM
 IP:  Ip keeps changing it is a port foward.
Hosted by:  Home hosting atleast 3 hours a day.
       Number of players slots: 100
    Scripts:  VCW v1.5 (My own Script)
    IRC Channel:  #Not Added Yet.
Forum-- Will be added soon.
Specialty : Teleporting Camera will be added soon.