[FilterScript] [FS] >> L Admin 4 - Adminscript << [stats/weap/place saving | Over 150 CMDS]
#41

I try to compile the filterscript but I get this error:

Code:
C:\Users\Toyotaspeed\Documents\GTA\samp022server.win32\filterscripts\ladmin2.pwn(2) : fatal error 100: cannot read from file: "dutils"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
I'm unable to load the amx when I start the samp-server.exe

Any halp?
Reply
#42

You need the dutils include
Reply
#43

Quote:
Originally Posted by [NBG
XxXkranXxX ]
You need the dutils include
Yea put the Dutils include in the includes folder, and also, if you have already done this and the error comes up, Im guessing from the error that it is corrupted, so I would reccomend re-downloading it
Reply
#44

I have some bad news for ladmin... The new sa-mp update 0.2x isent working whits ladmin some things work but NOT the car spawn system its says here is you new car but no car apers... the second bug is "info" dosent work in the "server cmd" pls fix this I relly love this admin script... Sorry for my bad english!

EDIT:

Some bug in my server was the reason to the problem sorry
Reply
#45

hey i got a problem -.-...
if i wanna put Ladmin into LVRCR
it says i n2 login 2x...
and the Commands wont work either coz if i do /lcmds Wont work :S Can someone help me solve this problem?
Thx
Reply
#46

Really nice script, I'm using it.

One question though, how can I prevent players from getting kicked when they have a minigun and/or jetpack?


EDIT:

**NVM: It wasn't that script**
Reply
#47

Why when i type /kick or /ban it says i'm not an admin, when i put my level to 5.
and it never saves where i log out at, it pretty much never saves anything.
alot of the commands work.
anybody know whats the problem?
Reply
#48

on 0.3 /crash and /pm
and hydraulic are not working
and weather is changing very slow
Reply
#49

This script needs updating for 0.3 .. if you can't do it yourself ... ask somebody in the script request thread.
Reply
#50

hi.. i want implement a function with ur admin script.. i'm not really able.. so i'm there to ask help..

i want made a function, where i can give one weapon with some ammo to all players, then it will be send a message to a player to inform to that.. this function it will be enabled only for admins obv.. if possible level 3..

i'm not good at pawn.. so i'm there to ask help..

how to do that?
Reply
#51

how to make new command GM that work with levels by this script?

i wanna make a command in the gm that can be used only by admins (leveled by ladmin)..

now i've only successfully created a functionally rcon commands.. but i wont give all admins my rcon password.. so how to make this?
Reply
#52

Code:
#include <IsPlayerLAdmin>
Example command:

Code:
dcmd_testing(playerid,params[])
{
  #pragma unused params
	if(IsPlayerLAdmin(playerid))
 	{
    	SendClientMessage(playerid, 0xFF0000AA, "Tested");
    	//Use any function you want here
    	
    	//This is setup for DCMD if you use strcmp use the same top part
    	//of the strcmp command layout
	}
	return 1;
Reply
#53

Code:
  if (strcmp("/command", cmdtext, true)==0)
	  {
     if(IsPlayerLAdmin(playerid))
     {
     command
     }
     else
     {
  	  command
     return 1;
		 }
  }
i tryed with this but it wont work..

when i type the command on server it says: unknown command

--EDIT--

ok now it work with this code..

Code:
  if (strcmp("/command", cmdtext, true)==0)
  {
    if(IsPlayerLAdmin(playerid))
	  {
     command
     return 1;
 	  }
	  else
	  {
	  command
	}
  }
i got just one error.. all players can use it.. how to fix only for admins?
Reply
#54

Code:
if (strcmp("/command", cmdtext, true)==0)
{
 	if(IsPlayerLAdmin(playerid))
	{
		//Thing you want to do here and no don't put a return after the command here.
	}
	else SendClientMessage(playerid, 0xFF0000AA, "You are not a admin");
	return 1;
}
I even tested this and it works.

Example:

Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/command", cmdtext, true)==0)
	{
 		if(IsPlayerLAdmin(playerid))
		{
			SendClientMessage(playerid, 0xFF0000AA, "You are a admin");
		}
		else SendClientMessage(playerid, 0xFF0000AA, "You are not a admin");
		return 1;
	}
	return 0;
}
Reply
#55

Nice admin script
Reply
#56

It\'s fucking awesome!
Reply
#57

Please download the fix.


thank you
Reply
#58

Please fix link of v4 and others.
Reply
#59

why accounts are bugged you join the server it says you must register /register [password] .. and /login idk what else and when i do /register or /login it says you are alredy Registered and Logged in and still saying you must register with yellow letters .. anyone can help me please ?
Reply
#60

I suppose you have to add a new line

Code:
forward OnPlayerPrivmsg
Reply


Forum Jump:


Users browsing this thread: 17 Guest(s)