Scripting help :/
#1

Well all i need is a Code of Some simple Roleplay Commands, EG.. /mes and /dos, If you can post the code here i'll be very appreciative, Thank you

Also i need someone to fix this Error for me, I've got all the Includes in the right folders and things.. But i can't identify this

Код:
C:\Users\Parent\Desktop\LuxAdmin 1.7\filterscripts\LuxAdmin.pwn(34) : fatal error 100: cannot read from file: "ldudb"

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


1 Error.
Reply
#2

pawn Код:
if(strcmp(cmdtext, "/me", true, 3) == 0)
{
     new pname1[24], string[256];
     GetPlayerName(playerid, pname1, 24);
     format(string, 256, "* %s (%d) %s", pname1, playerid, cmdtext[4]);
     SendClientMessageToAll(GetPlayerColor(playerid), string);
     return 1;
}
This is my /me command.
Reply
#3

That's not a /me command for a roleplay server, plus that's a mess.

Here are two examples: http://forum.sa-mp.com/showpost.php?...61&postcount=4 (/do & /me), you should try looking at other scripts for the commands in those scripts.
Reply
#4

I doubt he'll understand that ..

Edit: Saw you have an error, download this and place it in your pawno/includes folder:

http://www.solidfiles.com/d/cf63/
Reply
#5

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
That's not a /me command for a roleplay server, plus that's a mess.

Here are two examples: http://forum.sa-mp.com/showpost.php?...61&postcount=4 (/do & /me), you should try looking at other scripts for the commands in those scripts.
He asked for a strcmp command, not for ZCMD command! Well...


@Swizzzy

Try this!

https://sampwiki.blast.hk/wiki/Using_strcmp%28%29

Also, u can change the colors and Messages of your script!!!!
Reply
#6

I''ve decided to use the LuxAdmin System, But when i try to Compile, The Fs contains all of the files including all the "Includes" But it's still giving me that Error.
Reply
#7

Quote:
Originally Posted by samtey
Посмотреть сообщение
He asked for a strcmp command, not for ZCMD command! Well...
Can you read?

Quote:
Originally Posted by Swizzzy
Посмотреть сообщение
Well all i need is a Code of Some simple Roleplay Commands, EG.. /mes and /dos, If you can post the code here i'll be very appreciative, Thank you

Also i need someone to fix this Error for me, I've got all the Includes in the right folders and things.. But i can't identify this

Код:
C:\Users\Parent\Desktop\LuxAdmin 1.7\filterscripts\LuxAdmin.pwn(34) : fatal error 100: cannot read from file: "ldudb"

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


1 Error.
I don't even see a mention of the term "strcmp" in that post.
Reply
#8

Open pawn. Open your gamemode. Try to compile.

Try that ^^
Reply
#9

try downloading includes or check if ldudb in your pawn/includes folder
it does not exists so it given that error
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)