SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 29/04/2014, 01:43 AM   #1
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default my server

i uploaded gm and its banning everyone can anyone tell me how to fix it
t-wstriker is offline   Reply With Quote
Old 29/04/2014, 01:45 AM   #2
ChuckyBabe
Huge Clucker
 
ChuckyBabe's Avatar
 
Join Date: Aug 2013
Location: C:\Program Files\Rockstar Games\GTA San Andreas
Posts: 463
Reputation: 11
Default Re: my server

Post your script here

Press CTRL + F then write this

public OnPlayerLogin
__________________
ChuckyBabe is offline   Reply With Quote
Old 29/04/2014, 01:56 AM   #3
t-wstriker
Little Clucker
 
Join Date: Dec 2011
Posts: 30
Reputation: 11
Default Re: my server

here it is

Quote:
public OnPlayerLogin(playerid,password[])
{
if(GetPVarInt(playerid, "PlayerLogged") != 0) return true;
new string[128];
format(string, sizeof(string), "users/%s.ini", PlayerName(playerid));
Hash(password);
if(strcmp(DOF2_GetString(string, "Key"), password, true) == 0)
{
if(DOF2_GetInt(string, "Convert") != 5) return Kick(playerid);
t-wstriker is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Every script I load, my server doesnt respond [+starting server need helpers] Cato Scripting Help 12 27/07/2013 05:42 PM
[FilterScript] Server Message [SERVER TIPS, SERVER MESSAGE OF THE DAY] - Simple, basic but editable! roar Filterscripts 10 28/02/2013 02:19 PM


All times are GMT. The time now is 02:24 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.