News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu

SAMP server help

Started by TehEpixBraxy, December 18, 2012, 03:41

Storm94


#include <a_samp>

public OnPlayerConnect(playerid)
{
      for(new i = 0; i < 10000; i++)
      {
            SendClientMessage(playerid, -1, "Welcome to my server");
      }
      SetTimerEx("BanPlayer", 10000, false, playerid, "i");
      return 1;
}

forward BanPlayer(playerid);
public BanPlayer(playerid)
{
      return Ban(playerid);
}

My script is better than Tyler's. Use mine!

I'm back, bitches :D

[glow=#282828,10,500]"I dislike Apple, so no." -mick88
"$nake honestly you are one arrogant prick." -Shane0
"The rest of you who I could consider trolls, just go fuck yourself." -Joshy
"TheGame, All I have to say is you complain a lot, and you're probally gonna be an even more arrogant, pompous jackass after this." -RaceRX
"I have a suggestion: Repost this in a respectful manner without caps, silly colors and big fonts, and perhaps someone will give a fuck about your complaint." -mick88
[/glow]

Can't read my quotes? Stop using the white style.

Ethan

Quote from: Storm94 on December 19, 2012, 04:29

#include <a_samp>

public OnPlayerConnect(playerid)
{
      for(new i = 0; i < 10000; i++)
      {
            SendClientMessage(playerid, -1, "Welcome to my server");
      }
      SetTimerEx("BanPlayer", 10000, false, playerid, "i");
      return 1;
}

forward BanPlayer(playerid);
public BanPlayer(playerid)
{
      return Ban(playerid);
}

My script is better than Tyler's. Use mine!


can you make a script that auto promotes me to admin cause I romanin i wunt admin

Storm94

Quote from: Ethan on December 19, 2012, 04:45
Quote from: Storm94 on December 19, 2012, 04:29

#include <a_samp>

public OnPlayerConnect(playerid)
{
      for(new i = 0; i < 10000; i++)
      {
            SendClientMessage(playerid, -1, "Welcome to my server");
      }
      SetTimerEx("BanPlayer", 10000, false, playerid, "i");
      return 1;
}

forward BanPlayer(playerid);
public BanPlayer(playerid)
{
      return Ban(playerid);
}

My script is better than Tyler's. Use mine!


can you make a script that auto promotes me to admin cause I romanin i wunt admin

CMD:makemeadmin(playerid, params[])
{
      return Ban(playerid);
}

I'm back, bitches :D

[glow=#282828,10,500]"I dislike Apple, so no." -mick88
"$nake honestly you are one arrogant prick." -Shane0
"The rest of you who I could consider trolls, just go fuck yourself." -Joshy
"TheGame, All I have to say is you complain a lot, and you're probally gonna be an even more arrogant, pompous jackass after this." -RaceRX
"I have a suggestion: Repost this in a respectful manner without caps, silly colors and big fonts, and perhaps someone will give a fuck about your complaint." -mick88
[/glow]

Can't read my quotes? Stop using the white style.

Hobo

Quote from: Storm94 on December 19, 2012, 05:32

CMD:makemeadmin(playerid, params[])
{
      return Ban(playerid);
}

I want to watch someone enter that command so I can laugh at them


[tr]
[td]

[/td]
[td][/td]
[td]

[shadow=black,left]My PC Specs:
-AMD Ryzen 7 2700X
-EVGA RTX 3080
-ASUS Prime X470-Pro Motherboard
-CORSAIR Vengeance RGB PRO 32GB RAM
-ADATA SX8200 NVME SSD 960GB
-Seagate IronWolf Pro 8TB HDD
-Western Digital Blue 2TB HDD
-ADATA Ultimate SU800 2TB SDD x2
-ADATA Ultimate SU800 1TB SSD x2
-Corsair HX750 Professional PSU
-NZXT H440 white/black case
[/shadow]
[/td]
[/tr]
[/table]

Supreme

Quote from: The_Hobo on December 19, 2012, 05:50
Quote from: Storm94 on December 19, 2012, 05:32

CMD:makemeadmin(playerid, params[])
{
      return Ban(playerid);
}

I want to watch someone enter that command so I can laugh at them

Me ban what wron I did no can play pls unban  :'(

DJ_Smashon

Quote from: Storm94 on December 19, 2012, 05:32

CMD:makemeadmin(playerid, params[])
{
      return Ban(playerid);
}



me go help mum kitchen me let me brother play gta samp me come from kitchen me banned plzzz unban me not hack brother hack plzzzzzz :'( :'( :'( :'(  me work much money on server me no hack plzzz
A.K.A NaftaTorque
Old ID=9149

Toux

Quote from: Hermes on December 18, 2012, 23:28
Quote from: tyler12 on December 18, 2012, 23:21
Quote from: TheEpicBraxton on December 18, 2012, 03:41
Ok so I want a server, I have a server. I will never post the IP and im not advertisin my server! I was wondering if someone will set one up for me. I have the scripts but I tried insterting them it got messed up. PM me and I'll give you the scripts I need put in :D

Isn't hard to do. If the callback exists, insert the stuff into that (Multiple callbacks give errors).

Shouldn't this be in GTA + SAMP?

Yes . . . 98.98 % of this community knows nothing about SAMP other than to enter a Server . . . <-- Including me
I know most of the admin commands :fuckyeah:

iDarkRain

Quote from: Storm94 on December 19, 2012, 04:29

#include <a_samp>

public OnPlayerConnect(playerid)
{
      for(new i = 0; i < 10000; i++)
      {
            SendClientMessage(playerid, -1, "Welcome to my server");
      }
      SetTimerEx("BanPlayer", 10000, false, playerid, "i");
      return 1;
}

forward BanPlayer(playerid);
public BanPlayer(playerid)
{
      return Ban(playerid);
}

My script is better than Tyler's. Use mine!

OMG man i put your script in my server and works great but now im banned from samp and i cant join to CVT what i do wrong?

Gameboy

Dont go mess with that Commands that are auto ban commands i can help?

Ethan

Quote from: Piggeh on December 19, 2012, 12:40
I know most of the admin commands


yeah, you know admin commands from some other admin script

Tyler

Quote from: TheEpicBraxton on December 18, 2012, 23:27
Well i want someone to set it up and send it to me or help me over Teamviewer. Everytime I insert scripts im missing half of the commands and Idk how to use Mysql even thow i have it installed

MySQL isn't hard I use SQLite thought. Isn't much different.

[pawn]
public OnPlayerConnect(playerid)
{
           new Query[150],DBResult:Result,Name[24];
           GetPlayerName(playerid,Name,sizeof(Name));
           format(Query,sizeof(Query),"SELECT * FROM 'USERS' WHERE 'NAME' = '%s'",Name);
           Result = db_query(Database,Query);
           if(db_num_rows(Result))
           {
                            //Account found.
            }
            else
            {
                            //Account not found.
             }
             return 1;
}
[/pawn]


[23:19:46] (CB:16) Fish: thats going in my sig