Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
I'm looking for a good Register and Login Filterscript. Also I'm needing to know how to set a text on a charater class as when you begin the server. And choose your charater. And make like 5+ different camera pos. I need it because i'm making a TDM server.
Posts: 308
Threads: 17
Joined: Mar 2010
Reputation:
0
I doubt there are any exactly like that but there are several filterscripts and tutorials out there. You could make one or use a filterscript and edit it.
Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
I have seen on some servers with it. I'm also neededing to know how to set the name color when you pick a certain gang. Like, If you picked grove it would be green name tag. Aztecs Blue.
Posts: 239
Threads: 69
Joined: Jun 2011
Okay, first i think you should use
Hamptonin's Admin SystemWhich Comes With The Registration System,
And Use This Script.
Код:
public OnPlayerRequestClass(playerid, classid)
{
switch( classid )
{
case 0: GameTextForPlayer( playerid, "~g~Army", 4000, 5 );
case 1: GameTextForPlayer( playerid, "~b~FBI", 4000, 5 );
case 3: GameTextForPlayer( playerid, "~b~Police", 4000, 5 );
Change The Case For Specified Player For an Example The 1st person in the Spawn Selector would be Case 0: Than Change The "Army" Text
To Make a Certain Color For Gang You May Wanna Follow
This Tutorial
Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
Thanks a lot man. I will try it out.
Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
I complied his script and it gave me this.
C:\Users\Dillon\Desktop\Gang Wars\filterscripts\hadmin.pwn(19) : fatal error 100: cannot read from file: "/Hadmin/h_admin"
Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
I have fixed that problem. I'm on this one now.
C:\Users\Dillon\Desktop\Gang Wars\filterscripts\hadmin.pwn(924) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivateMessage")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
public OnPlayerPrivateMessage(playerid, recieverid, text[])
{
if(GetConfig("LockPM")==1 || LockPrivm==1) return SendClientMessage(playerid,RED,"The PM is locked you can't PM to other players"),0;
if(Info[playerid][Muted]==1 && GetConfig("MutePM")==1) return SendClientMessage(playerid,RED,"you are muted you can't say anything"),0;
if(Ignore[recieverid][playerid]==1) return SendClientMessage(playerid,RED,"This player has ignored you, You CAN'T talk to him"),0;
new string[128];
format(string,sizeof(string),"PM from %s(%d): %s",Name(playerid),playerid,text);
SendClientMessage(recieverid,PMCOLOR,string);
format(string,sizeof(string),"PM send to %s: %s",Name(recieverid),text);
SendClientMessage(playerid,PMCOLOR,string);
if(GetConfig("ReadPM")==1)
{
format(string,sizeof(string),"PM: %s To: %s: %s",Name(playerid),Name(recieverid),text);
for(new i=0; i<MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerHAdmin(i) && i != playerid && i != recieverid)
{
SendClientMessage(i,GREEN,string);
}
}
}
return 1;
}
Posts: 239
Threads: 69
Joined: Jun 2011
Its Alright that your getting a warning on this, it isnt going to make the script not run the Pming is gonna be messed up.
Posts: 12
Threads: 2
Joined: Jun 2011
Reputation:
0
Everything compiles but i get this.