Mohamed's Account System
[1.0 - Stable] Miami Land Server Source »

Mahmoud Tornado

  • Full Member
  • Posts: 220
Re: Mohamed's Account System
« Reply #15,  »
Quote from =RK=MarineForce on March 23rd, 2018, 05:53 PM
AddClass( 1, RGB( 255, 255, 3 ) ,0,Vector( 583.553 -1121.18 12.3375 ), 0.0256715, 21, 999 ,26, 999, 22, 400 );

ON SCRIPT LOAD LINE 27
Lel!?
What are you doing?

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Try to UnderStand ME!

Mahmoud Tornado

  • Full Member
  • Posts: 220

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Re: Mohamed's Account System
« Reply #18,  »Last edited
I HAVE to create this for u

Code: [Select]
function onPickupPickedUp( player, pickup )
{
if( pickup.Model == 380 )
 {
 if ( player.Cash < 1000 ) MessagePlayer( "[#00de00]Command: [#fbf3f3] Error- You Need 1k to create explosion.", player );
 else {
CreateExplosion( player.World, 3, player.Pos, -1, true );
CreateExplosion( player.World, 1, player.Pos, -1, true );
CreateExplosion( player.World, 2, player.Pos, -1, true );
CreateExplosion( player.World, 4, player.Pos, -1, true );
CreateExplosion( player.World, 5, player.Pos, -1, true );
CreateExplosion( player.World, 6, player.Pos, -1, true );
CreateExplosion( player.World, 7, player.Pos, -1, true );
CreateExplosion( player.World, 8, player.Pos, -1, true );
CreateExplosion( player.World, 9, player.Pos, -1, true );
CreateExplosion( player.World, 10, player.Pos, -1, true );
CreateExplosion( player.World, 11, player.Pos, -1, true );
 player.Cash -= 1000;
 }
 }
Re: Mohamed's Account System
« Reply #19,  »
who's help me to make a serveR?

i need tornado and fxt then i can make
Try to UnderStand ME!

Mohamed

  • Full Member
  • Regards, We3da
  • Posts: 247
Re: Mohamed's Account System
« Reply #20,  »
Quote from =RK=MarineForce on March 25th, 2018, 06:17 PM
I HAVE to create this for u

Code: [Select]
function onPickupPickedUp( player, pickup )
{
if( pickup.Model == 380 )
 {
 if ( player.Cash < 1000 ) MessagePlayer( "[#00de00]Command: [#fbf3f3] Error- You Need 1k to create explosion.", player );
 else {
CreateExplosion( player.World, 3, player.Pos, -1, true );
CreateExplosion( player.World, 1, player.Pos, -1, true );
CreateExplosion( player.World, 2, player.Pos, -1, true );
CreateExplosion( player.World, 4, player.Pos, -1, true );
CreateExplosion( player.World, 5, player.Pos, -1, true );
CreateExplosion( player.World, 6, player.Pos, -1, true );
CreateExplosion( player.World, 7, player.Pos, -1, true );
CreateExplosion( player.World, 8, player.Pos, -1, true );
CreateExplosion( player.World, 9, player.Pos, -1, true );
CreateExplosion( player.World, 10, player.Pos, -1, true );
CreateExplosion( player.World, 11, player.Pos, -1, true );
 player.Cash -= 1000;
 }
 }
i Didn't Need, i can create best than that with my self, thank u ;D
Feel Free To PM Me For Any Support, I'm Care.
Anyway u can Contact Me Ingame!
Ingame Name: [AFt]We3da^
My Own Server: ViceEvil Server

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Try to UnderStand ME!

Mohamed

  • Full Member
  • Regards, We3da
  • Posts: 247
Feel Free To PM Me For Any Support, I'm Care.
Anyway u can Contact Me Ingame!
Ingame Name: [AFt]We3da^
My Own Server: ViceEvil Server

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Re: Mohamed's Account System
« Reply #23,  »
Bro i can't add admin system in your system can u add admin system + register? modify it plz :D  add your admin system and setlevel command and i add all commands own self!
Try to UnderStand ME!

Mohamed

  • Full Member
  • Regards, We3da
  • Posts: 247
Re: Mohamed's Account System
« Reply #24,  »Last edited
Quote from =RK=MarineForce on April 24th, 2018, 05:04 PM
Bro i can't add admin system in your system can u add admin system + register? modify it plz :D  add your admin system and setlevel command and i add all commands own self!
As i think you can made it, anyway here is a example.
Code: [Select]
if ( cmd == "kick" )
{
if( stats[ player.ID ].Log == false && stats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 4 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
else if ( !text ) MessagePlayer( "/kick <Nick> <Reason>", player);
else
{
local plr = FindPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Error - Unknown player.", player);
else if( stats[ player.ID ].Level < stats[ plr.ID ].Level ) MessagePlayer("You Cannot Give Any Admin Higher Level Than You", player);
else
{
local reason = GetTok( text, " ", 2 NumTok( text, " " ) );
if ( !reason ) MessagePlayer("You can't kick someone without reason.",player);
Message( "Admin " + player.Name + " Ha Kicked " + plr.Name + " Reason: " + reason + "" );
plr.Kick();
}
}
}
Code: [Select]
if ( cmd == "setlevel" )
{
if( stats[ player.ID ].Log == false && stats[ player.ID ].Reg == false ) MessagePlayer( "You Need Login or Register First.", player );
else if ( stats[ player.ID ].Level < 10 ) MessagePlayer( "You Are Not Authorized To use This Command", player );
else if ( !text ) MessagePlayer( "/setlevel <Nick/id> <Level>", player );
else
{
local plr = GetPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Unknown Player..", player );
else
{
local lvl = GetTok( text, " ", 2);
if (!IsNum(lvl)) MessagePlayer("Level Must Be In Numbers..",player);
else
{
Message("Admin " + player.Name + " Set Level To " + plr.Name + ", Level: " + lvl + ".");
stats[ plr.ID ].Level = lvl.tointeger();
}
}
}
}
Note: the commands can't work without function getok and numtok.
Feel Free To PM Me For Any Support, I'm Care.
Anyway u can Contact Me Ingame!
Ingame Name: [AFt]We3da^
My Own Server: ViceEvil Server

=RK=MarineForce

  • Sr. Member
  • WAR IS HELL!
  • Posts: 448
Re: Mohamed's Account System
« Reply #26,  »
How can i get Admin Ranks Levels and command ' admin'

Admins Online' MarineFOrce Moderator - Mohamed - Owner
Re: Mohamed's Account System
« Reply #27,  »Last edited
bro setlevel bug if i type /setlevel marine not showing any thinG

error The Index 'pstats' dose not exits
Re: Mohamed's Account System
« Reply #28,  »
hey Mohammed i need help...

i windows my pc... and all files delted i m creating new server

Can You give me  ? All ADMIN commands any system from your system i think u help humans :d
Re: Mohamed's Account System
« Reply #29,  »Last edited
There are More Bugs.. in admin system

can u help me to make it?

i need only warn system.. and ban  unban and setlevel /admins system can u give me it here code
Try to UnderStand ME!