Mohamed's Account System

Started by Mohamed Boubekri, Feb 15, 2018, 06:13 PM

Previous topic - Next topic

Mahmoud Tornado

Quote from: =RK=MarineForce on Mar 23, 2018, 05:53 PMAddClass( 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

i m added add class but server error.

Mahmoud Tornado

Quote from: =RK=MarineForce on Mar 23, 2018, 06:12 PMi m added add class but server error.
Add it here
onPlayerRequestClass( player, classID, team, skin )

=RK=MarineForce

#18
I HAVE to create this for u

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;
 }
 }

=RK=MarineForce

who's help me to make a serveR?

i need tornado and fxt then i can make

Mohamed Boubekri

Quote from: =RK=MarineForce on Mar 25, 2018, 05:17 PMI HAVE to create this for u

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
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

bro u can create it plz make it bset u pro scripter :d

Mohamed Boubekri

| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce

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!

Mohamed Boubekri

#24
Quote from: =RK=MarineForce on Apr 24, 2018, 04:04 PMBro 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.
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();
}
}
}
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.
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

=RK=MarineForce


=RK=MarineForce

How can i get Admin Ranks Levels and command ' admin'

Admins Online' MarineFOrce Moderator - Mohamed - Owner

=RK=MarineForce

#27
bro setlevel bug if i type /setlevel marine not showing any thinG

error The Index 'pstats' dose not exits

=RK=MarineForce

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

=RK=MarineForce

#29
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