Author Topic: [GUPS] UnRegister Protection System Be Me Spider  (Read 3241 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
[GUPS] UnRegister Protection System Be Me Spider
« on: February 07, 2013, 02:13:52 pm »
for begin
Code: [Select]
new Unregister[MAX_PLAYERS];one player connect set it like this
Code: [Select]
SendClientMessage( playerid, COLOR_GREEN, "Your nick is not registered. Register to protect it." );
SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c register [Password]" );
Unregister[playerid] = 1; /// <<< this line
PlayerInfo[ playerid ][ Logged ] = 2;
PlayerInfo[ playerid ][ Stats ] = 2;
this is in onplayerconnect where player is not register
Code: [Select]
Unregister[playerid] = 1;this is on onplayerspawn
Code: [Select]
      if(Unregister[playerid] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"First Register Then Spawn use /c register password");
        SetPlayerHealth( playerid, 0.0 );
}
this is in /c register cmd
Code: [Select]
Unregister[playerid] = 0;
this is help you easily get  registered players
special thanks to me

note if you dont add this
Code: [Select]
Unregister[playerid] = 0;your are not be able to spawn in game
« Last Edit: February 07, 2013, 04:43:19 pm by mrockxkingbutt »
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: UnRegister Protection System Be Me Spider
« Reply #1 on: February 07, 2013, 04:48:29 pm »
You can just check if the player is registered or not by checking his nickname, you don't need to make a new variable for this.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: UnRegister Protection System Be Me Spider
« Reply #2 on: February 07, 2013, 05:33:40 pm »
for begin
Code: [Select]
new Unregister[MAX_PLAYERS];one player connect set it like this
Code: [Select]
SendClientMessage( playerid, COLOR_GREEN, "Your nick is not registered. Register to protect it." );
SendClientMessage( playerid, COLOR_GREEN, "USAGE: /c register [Password]" );
Unregister[playerid] = 1; /// <<< this line
PlayerInfo[ playerid ][ Logged ] = 2;
PlayerInfo[ playerid ][ Stats ] = 2;
this is in onplayerconnect where player is not register
Code: [Select]
Unregister[playerid] = 1;this is on onplayerspawn
Code: [Select]
      if(Unregister[playerid] == 1) {

        SendClientMessage(playerid,0xAA3333AA,"First Register Then Spawn use /c register password");
        SetPlayerHealth( playerid, 0.0 );
}
this is in /c register cmd
Code: [Select]
Unregister[playerid] = 0;
this is help you easily get  registered players
special thanks to me

note if you dont add this
Code: [Select]
Unregister[playerid] = 0;your are not be able to spawn in game
first is for gups, second is stupid and not working
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: UnRegister Protection System Be Me Spider
« Reply #3 on: February 07, 2013, 06:48:19 pm »
Quote
You can just check if the player is registered or not by checking his nickname, you don't need to make a new variable for this.
you cant kick unregister player first thing is this
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol