Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,497
» Latest member: satapisenoki84070
» Forum threads: 2,412
» Forum posts: 12,359

Full Statistics

Online Users
There are currently 690 online users.
» 0 Member(s) | 687 Guest(s)
Bing, Google, Applebot

Latest Threads
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
Yesterday, 07:47 PM
» Replies: 0
» Views: 50
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
Yesterday, 02:16 PM
» Replies: 1
» Views: 71
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 60
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 204
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 294
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 369
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 354
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 146
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 238
Not relevant anymore
Forum: Questions and Suggestions
Last Post: peti
2025-09-05, 02:00 PM
» Replies: 0
» Views: 194

 
  Centos 7 screen help
Posted by: Salesman - 2019-10-08, 06:26 PM - Forum: Support - Replies (1)

Hello, I try to run my SA-MP server on Centos 7 with screen command but when I try it just says screen terminated it worked before but I had trouble with libstdc but now it doesn't start the server like it should have.


  Esto esta vivo?
Posted by: Soichiro - 2019-10-05, 01:16 AM - Forum: Spanish/Espa?ol - Replies (3)

El proyecto sigue todav?a? ha pasado ya bastante tiempo y nadie tiene noticias de esto.


  [MAP] Spawn Point, Las Venturas.
Posted by: pokerface - 2019-10-03, 10:24 AM - Forum: Videos and Screenshots - Replies (4)

///Edit in progress


  MySQL Weapon save custom
Posted by: Zow - 2019-09-30, 04:17 PM - Forum: Pawn Scripting - Replies (1)

They saved every weapon from the server after disconnected

But I wants them to custom save

exam: /getgun from the gang = not save

/weapon = save

sorry for my bad explain I don't know how to explain to be clear



PHP Code:
public OnPlayerDisconnect(playeridreason)

{

for (new 
0<= 12i)

{

? ?
GetPlayerWeaponData(playeridiweapons1[i][0], weapons1[i][1]);

? ?if(!
weapons1[i][0]) continue; // don't insert if there's no weapon in this slot

mysql_format(dbConquerysizeof(query), "INSERT INTO `WeaponData` (ID, WeaponID, Ammo) VALUES (%d, %d, %d) ON DUPLICATE KEY UPDATE `Ammo` = `Ammo`  %d"PlayerInfo[playerid][pSQLID], weapons1[i][0], weapons1[i][1], weapons1[i][1]);

mysql_query(dbConquery);

printf("weapon: %d, ammo: %d"weapons1[i][0], weapons1[i][1]);

}

return 
1;





PHP Code:
?if(strcmp(cmd"/weapon"true) == 0)

?{

???? 
GivePlayerWeapon(playerid24500);

???? 
GivePlayerWeapon(playerid30500);

???? 
GivePlayerWeapon(playerid81);

?} 

PHP Code:
?if(strcmp(cmd"/getgun"true) == 0)

?{

???? 
GivePlayerWeapon(playerid24500);

???? 
GivePlayerWeapon(playerid30500);

???? 
GivePlayerWeapon(playerid81);

?} 


Information Block/reject queries with opcode 'c' using iptables
Posted by: AdrianBZG - 2019-09-27, 09:03 AM - Forum: Support - No Replies

Hi,



I have seen some servers that even tho they have less than 100 players, the players are not listed in the server browser. This is obviously a measure against UDP query flood to the server.



I was wondering if someone could help me or tell me how to do the exact same thing.



Does this require to block SAMP UDP packets with a specific opcode using iptables, e.g. opcode 63 (flag c), which is the one that gives the players info? See?https://wiki.sa-mp.com/wiki/Query_Mechanism#Opcodes?for info about opcodes.



I tried with this iptables rules, but it's not working, I still get the server info in the server browser:



iptables -I INPUT -p udp --dport 7777 -m string --algo kmp --hex-string '|53414d50|' -m string --algo kmp --hex-string '|611e63|' -j DROP



I'm not sure how to do that, please help.



Thanks.


  pawno no respond
Posted by: nbx2000 - 2019-09-27, 04:05 AM - Forum: Pawn Scripting - No Replies



hello everyone I had a problem compiling it locks but compiles the scrip. important I test with another server that downloads and also does the same thing pawno does not respond but compiles ... why did this happen ???


  Burgershot.gg allow animated GIF and Streamable videos
Posted by: Sasino97 - 2019-09-26, 08:59 AM - Forum: Questions and Suggestions - No Replies

Hello



I would like to see animated GIF support on the forum, as well as "Streamable.com" embedded videos.


  Bank Robbery System [HELP!]
Posted by: Fuzzy - 2019-09-24, 12:37 PM - Forum: Pawn Scripting - Replies (1)

PHP Code:
// Bank Robbery

new robbing[MAX_PLAYERS];

new 
alreadyrobbed[MAX_PLAYERS];

new 
robbingTimer[MAX_PLAYERS];

forward bankrob(playerid);

forward robbedoff(playerid);



public 
bankrob(playerid)

{

? ?new 
robcash random(25000)  35000;

? ?
SendClientMessage(playeridCOLOR_WHITE" Your finished robbing the bank, Run now");

? ?
GiveMoney(playeridrobcash);

? ?
//SendClientMessage(playerid, COLOR_WHITE, "You've been rob {33CC33}%s{FFFFFF}Dollars from the bank vault.", FormatNumber(robcash));

? ?alreadyrobbed[playerid] = 1;

? ?
robbing[playerid] = 0;

? ?
robbingTimer[playerid] = SetTimerEx("robbedoff"3600000false"i"playerid);

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

? ?
SendClientMessageToAll(COLOR_WHITE" It looks like the bankrobber got the cash.");

? ?
SendClientMessageToAll(COLOR_WHITE" The cops is currently waiting outside.");

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

? ?return 
1;

}

public 
robbedoff(playerid)

{

? ?
alreadyrobbed[playerid] = 0;

? ?
SendClientMessage(playeridCOLOR_WHITE" You can now rob the bank again [/report to ask an admin to approve.]");

? ?return 
1;





PHP Code:
public OnPlayerDeath(playeridkilleridreason)

{

? ?
// Bank Robbey

? ?KillTimer(robbingTimer[playerid]);

? ?
robbing[playerid] = 0;

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

? ?
SendClientMessageToAll(COLOR_WHITE" Los Santos Police have been caught the suspect. ");

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

return 
1;





PHP Code:
public OnPlayerDisconnect(playeridreason)

{

? ?
/*// Bank Robbey

? ?KillTimer(robbingTimer[playerid]);

? ?robbing[playerid] = 0;

? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");

? ?SendClientMessageToAll(COLOR_WHITE, " Los Santos Police have been caught the suspect. ");

? ?SendClientMessageToAll(COLOR_ORANGE, "||----------Latest News----------||");*/ 



PHP Code:
CMD:robbank(playeridparams[])

{

if(
robbing[playerid] == 1)

? ? ? return 
SendErrorMessage(playerid" You are already robbing the bank, please slow down");



? ?if(
alreadyrobbed[playerid] == 1)

? ? ? return 
SendErrorMessage(playerid"You already robbed the bank! Wait 1 hour.");

? ? ? ? ? ? ? 

? if (!
Inventory_HasItem(playerid"C4"))

? ? ? return 
SendErrorMessage(playerid"You don't have a C4.");

? ? ? ? ? ?

? ?if(!
IsPlayerInRangeOfPoint(playerid5.01435.3354,-981.6418,983.6462)) return SendErrorMessage(playerid"You are not at the bank !");



? ?
SendClientMessage(playeridCOLOR_WHITE" You started to rob the bank, This will take 10 minutes");

? ?
SetTimerEx("bankrob"600000false"i"playerid);

? ?
robbing[playerid] = 1;

? ?
Inventory_Remove(playerid"C4");

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

? ?
SendClientMessageToAll(COLOR_WHITE" The bank is currently getting robbed.");

? ?
SendClientMessageToAll(COLOR_WHITE" Los Santos Police units are on the way.");

? ?
SendClientMessageToAll(COLOR_WHITE" We will report more when we get more information");

? ?
SendClientMessageToAll(COLOR_ORANGE"||----------Latest News----------||");

? ?return 
1;





when player die/quit its gives the msg of the suspect is down but if he stays online for 10min he still get the cash and also if he's relog after quiting he still get the cash after 10 minutes.

Also sometimes the?" Los Santos Police have been caught the suspect. " message showing for no reason

Have any idea how to fix it?


  Server is starting, but not visible in the client
Posted by: Luciano - 2019-09-23, 08:47 PM - Forum: Support - Replies (1)

Hello, I'm trying to run a server on VPS running CentOS 7 64bit.

I'm trying with the default SA-MP package, so the default game modes and everything. The server is starting (server log is fine), but it's not responding in the client.



Permissions are fine, I don't use any plugins, and I added "bind [ipaddress]" and "announce 1" in the server.cfg.


  Paying for SAMP SCRIPTER
Posted by: Samper123 - 2019-09-22, 10:35 PM - Forum: Pawn Scripting - No Replies

Hi, i need a samp scripter to finish my gang script and add zones/turfs to the gangs i currently have with some textdraws when attacking/defending a hood.?
?
Please message me on discord
Samper123#5056