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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,496
» Latest member: u888brbrcom
» Forum threads: 2,412
» Forum posts: 12,359

Full Statistics

Online Users
There are currently 843 online users.
» 0 Member(s) | 841 Guest(s)
Google, Bing

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

 
Information Help with mysql and data retrieving.
Posted by: cronoxliker - 2020-11-02, 09:57 AM - Forum: Pawn Scripting - Replies (10)

Hey guys, Im building a gamemode mostly for learning, but i got stuck in faction systems y was following a tutorial but was on an old version and im having struggle getting it done, if someone can explainme what im doing wrong here...



Code:
stock LoadFactions(/* arguments */)

{

new query[400];

for(new i = 0; i < MAX_FACTIONS; i)

{

mysql_tquery(query, "SELECT * FROM Factions WHERE ID = %d", i);

new rows, fields;

cache_get_data(rows, fields);

if(rows)

{

Total_Factions_Created;

cache_get_value_int(0,"id",Factions[i][ID]);

cache_get_value_name(0,"name",Factions[i][Name]);

cache_get_value_name(0,"type",Factions[i][Type]);

cache_get_value_name(0,"Rank1",Factions[i][Rank1]);

cache_get_value_name(0,"Rank2",Factions[i][Rank2]);

cache_get_value_name(0,"Rank3",Factions[i][Rank3]);

cache_get_value_name(0,"Rank1",Factions[i][Rank4]);

}

printf("se cargaron: %d facciones\n", Total_Factions_Created);

}

return 1;

}


  Amx Backtrace error
Posted by: yukie - 2020-11-02, 06:51 AM - Forum: Pawn Scripting - Replies (1)

Hello everyone Im try to run a server using mysql r5 and everytime im joining the game it went crashing and the error was the OnFilterScriptExit on gamemode but it doesnt have that callback on my gamemode how do I fix this error??


  libmysqlclient_r.so.15 error
Posted by: yukie - 2020-11-02, 04:44 AM - Forum: Pawn Scripting - Replies (1)

Where can I find the libmysqlclient_r.so.15 file coz my server cannot find that file when I start the server..


  SKY
Posted by: Grate Maharlika - 2020-11-01, 09:08 PM - Forum: Pawn Scripting - No Replies

Can anyone guide me or show some tutorial?on how to install SKY (https://github.com/oscar-broman/SKY) manually directly to the folder script?without?getting any errors?


  Hey
Posted by: BeckyzBoi - 2020-11-01, 03:58 AM - Forum: General Discussions - Replies (3)

guess the beauty of open source projects is that any vulnerabilities are discovered and fixed relatively quickly

Btw it would be nice to be able to contribute to something like this, even in some small way, which isn't as straightforward with sa-mp


  Mitigating DDos Attacks
Posted by: JaKe Elite - 2020-10-31, 12:19 PM - Forum: Support - Replies (1)

We have been under attack recently and I have no clue on how to mitigate or to reduce the effects of the DDos Attacks in the server. I have made a search on SAMP Forums (via Web Archive) and I have seen some users suggesting about configuring the Firewall of the VPS.



If anyone is so kind, can anyone guide me or tell me how do I do that??



We are currently hosting our VPS at OVH.



VPS Info:



Ubuntu 20.04

vCores 2

4GB Memory

40GB Storage?



The DDoS attack wasn't that severe the other day (the server is just causing some delays, no down at all). But the attacker decided to breach in the backend of our panel shutting it down, completely paralyzing the server (the server won't start up even if I start it in the panel (Open Game Panel)


  aGates (Automatic Gates)
Posted by: AceAbhishek - 2020-10-29, 02:03 AM - Forum: Libraries - Replies (2)

aGates



Automatic Gates for SAMP/open.mp , more efficeint than anyother automatic gates.



Features



- Only Streamer plugin required.

- No timers or complex looping.

- OnPlayerRequestGate() called only time after player requests gate, not after every second if player is near gate.

- Customisable?for players, interiors and Virtual worlds.

- Fast and efficient.

- Open Source.

- Advanced functions.



Download :

https://github.com/AceAbhishekOfficial/aGates-samp



Installation and Use :

https://github.com/AceAbhishekOfficial/aGates-samp/wiki


  Help with DM
Posted by: DaZzY - 2020-10-29, 12:29 AM - Forum: Pawn Scripting - Replies (4)

Hello !?

I have created a DM on my Gamemode?

And i have idea to?add on my DM?

I want a killer on DM get a? new weapon when he kill another player?

Example Player have A Shotgun when he kill another player the killer get another weapon Sniper?

and when he kill another again he get another weapon Sawnoff ....?

I don't know how to start scripting this ...?

Can someone give me just base and some explication please :)??

its easy for me to give a player weapon on DM for second kill but hard for me to add weapon for each other kill ( thirst kill ,4 kill .... )?


Video Entrevista com o BrunoBM16 sobre o Open-MP
Posted by: Maik - 2020-10-28, 11:54 PM - Forum: Portuguese/Portugu?s - Replies (1)

Fala pessoal, tudo beleza? fiz essa entrevista com o Bruno h? alguns dias e espero que gostem pois ? a primeira vez que eu fa?o algo?assim.







[Video: https://www.youtube.com/watch?v=VkCUTFP2Pss]







obs: sei que saiu agora a live dos desenvolvedores falando sobre o open-mp (e j? tenho traduzido pelo meu amigo SomS) e talvez eu poste aqui (apesar que boa parte s?o coisas que o Bruno falo no v?deo foram inclu?das nessa live dos dev)



obs2: se voc? estiver atr?s a respeito do Android (que eu n?o mencionei no v?deo) os dev falaram nessa live




Quote:?Open-MP para Android?? - N?o vamos apoiar, al?m disso, ? baseado em c?digo roubado, o que ? ilegal. Al?m disso, ? complexo passar para apk, e traz mais quest?es legais pois teriam de modificar ficheiros, e oferecer uma vers?o modificada do jogo.


  NPC doesn't trigger OnPlayerSpawn
Posted by: Hreesang - 2020-10-28, 07:46 PM - Forum: Support - No Replies

NPC in my gamemode won't trigger the OnPlayerSpawn, but it all went ok for the other gamemode. Is there any setting related to NPC that?I need to set? I can't find any in the wiki. Sorry if it confuses you because there is no code, I don't know what code to show.