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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,728
» Latest member: oswa3455
» Forum threads: 2,361
» Forum posts: 12,311

Full Statistics

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

Latest Threads
Funny videos
Forum: Chat
Last Post: oswa3455
8 hours ago
» Replies: 5
» Views: 11,969
After School Roleplay [ R...
Forum: Advertisements
Last Post: cosminupgaming
9 hours ago
» Replies: 1
» Views: 261
Voltage Roleplay [English...
Forum: Advertisements
Last Post: JamesC
10 hours ago
» Replies: 0
» Views: 8
Vice WRLD Freeroam/RP
Forum: Advertisements
Last Post: pdjumailiev
2025-11-24, 11:30 AM
» Replies: 0
» Views: 86
Wanting to Start a RP Ser...
Forum: Chat
Last Post: Wein
2025-11-24, 09:07 AM
» Replies: 1
» Views: 209
Help me for creating a fr...
Forum: General Discussions
Last Post: [Rs]VeNoM
2025-11-23, 07:33 AM
» Replies: 0
» Views: 59
The server didn't respond...
Forum: Support
Last Post: richboY
2025-11-22, 10:51 AM
» Replies: 0
» Views: 75
error when joining server
Forum: Support
Last Post: sanved2008
2025-11-22, 09:02 AM
» Replies: 0
» Views: 88
Client issue with object
Forum: Support
Last Post: TheDoctor
2025-11-15, 08:00 PM
» Replies: 0
» Views: 126
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-11-15, 12:06 AM
» Replies: 0
» Views: 141

 
Thumbs Up Eliminar post
Posted by: Akzull - 2020-06-10, 04:22 AM - Forum: Programaci?n - Replies (2)

Eliminar post


  Auto Translate chat
Posted by: billz - 2020-06-04, 01:25 PM - Forum: Filterscripts - Replies (2)

THE FILTERSCRIPT IS INCREDIBLY MESSY - BUT IT WAS MADE FOR TESTING PURPOSES TO EVEN SEE IF IT WOULD EVEN WORK



This basically contains a php file which gets the translation data from?mymemory.translated.net. It also replaces all the weird foreign characters with normal ones.



The example I've shared translates ES to EN and EN to ES. However, with the api you have no limitations of which languages you want to translate.





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











test.php



https://pastebin.com/raw/YsAQkH3q





example.pwn



https://pastebin.com/raw/Q4tZ1Zrg



like I said... VERY MESSY and stupid.





how to basically use the api:



PHP Code:
#include <a_samp>

#include <a_http>



new lang1 "en";

new 
lang2 "it";



public 
OnPlayerText(playeridtext[])

{







new 
languageHttpString[512];

format(languageHttpStringsizeof languageHttpString"localhost/test.php?text=%s&lang1=%s&lang2=%s"textlang1lang2);

strreplace(languageHttpString" """);

HTTP(playeridHTTP_GETlanguageHttpString"""HttpConvert");

}





forward HttpConvert(playeridresponse_codedata[]);

public 
HttpConvert(playeridresponse_codedata[])

{



printf("%s"data[0]);

//printf("response code %d", response_code);



return 1;





strreplace by slice?https://pastebin.com/raw/x6Gea0Nq


  Guess The Number System
Posted by: Axye - 2020-06-02, 01:01 AM - Forum: Filterscripts - Replies (1)

Hey,



I'd like to introduce my own simple?Guess The Number system to you, It's a game for SA-MP servers,?You have to guess the correct number which it's chosen randomly.



For more info and download link:



github.com/NinjaTheBlack/Guess-The-Number





Thanks for reading,

Axye


  A proper fix for attachments
Posted by: BrunoBM16 - 2020-05-31, 05:55 PM - Forum: Libraries - No Replies

? Proper attachment fix

This is a proper fix for SA-MP's attachments. What this does, is hide attachments only for the player aiming with a sniper, heat seeker, rocket launcher or camera, unlike other fixes which hide the attachments for everyone.



? Usage

Pretty simply, just include it on your script and you can start using it. There is no functions in this library?which are required for you to use in your mode, this is plug 'n' play.



? Dependencies

- Pawn.RakNet:?https://github.com/urShadow/Pawn.RakNet



? Simply install to your project

PHP Code:
sampctl package install BrunoBM16/samp-attachments-fix 


  Unsigned integers
Posted by: EvilShadeZ - 2020-05-31, 12:57 PM - Forum: Questions and Suggestions - Replies (4)

I have had a few times where I've been running in the signed integer limit and thought it would be beneficial to have unsigned ones.

They could have their own tag just like floating-point variables have their 'Float' tag.



If this was implemented, functions such as format would have to have their own specifiers i.e '%u' and have their own math operator implementations probably.


Heart Trading System [Stocks Type] - Meta Trade v4 Inspired - UNIQUE
Posted by: Steven - 2020-05-30, 01:13 PM - Forum: Filterscripts - Replies (4)

Trading - Meta Trader v4 Type System

Well this is a Trading system in which you can trade, the rules are pretty simple!
1. Trade Types:
?- BUY: When you are buying, The POINT must go UP means the point must be greater than the point when you bought your trade.
- SELL: When you are selling, The POINT must go DOWN means the point must be less than the point when you bought.

2. Earning:
It will depend on how much difference is there in the Points, the current one and the one you bought at. Lets say the difference is 5, so the money you put on trade is multiplied and given to you. Same for the loss. If its -5 so ...

CMD: ?

Code:
- /trade [Amount] [Buy / Sell]: to trade
COMMAND:trade
Params:
1. Money (Amount)
2. Buy / Sell (String)

- /tradechart - to show you the chart

- /stoptrade - to stop the trade process.

Well you can check for yourself and comment...

Link: https://github.com/jmrchelani/samp-trading

NOTE: The include is modified and added 2 new functions required for this FS. So make sure you have it.

SS:
[Image: MUF9frB.png]


  [Pedido o Tutorial] Necesito crear algo basico
Posted by: BIOS - 2020-05-28, 02:14 PM - Forum: Programaci?n - Replies (2)

Hola....?como creo un comando en el que los jugadores ponen / sugerencia [Texto] Y lo guarde en Scriptfiles ?, Que salte el Nombre de Usuario. Muchas gracias.


  [SOLVED] (warning) literal array/string passed to a non-const parameter
Posted by: cosine - 2020-05-26, 04:26 PM - Forum: Pawn Scripting - Replies (1)

As the title said,

Right now im using the new compiler and sampctl, and having this problem with warning

PHP Code:
(warningliteral array/string passed to a non-const parameter 

There's so much line getting warning, and most of them is pointing to the line with function ShowPlayerDialog.



This is one of them.

PHP Code:
showDialogResepsionis(playerid){

? ?return 
ShowPlayerDialog(playeridDIALOG_RESPSIONIS_PEMERINTAHDIALOG_STYLE_LIST"Pilihan tindakan pengurusan data""KTP""Pilih""Batal");





Note : I have update to YSI 5.x and here is my depedencies

PHP Code:
"dependencies": [

 
"sampctl/samp-stdlib",

 
"Southclaws/samp-logger",

 
"pawn-lang/YSI-Includes",

 
"zeex/samp-plugin-crashdetect:v4.19.4",

 
"pawn-lang/[email protected]",

 
"samp-incognito/samp-streamer-plugin:v2.9.4",

 
"Southclaws/progress2",

 
"pBlueG/SA-MP-MySQL:R41-4",

 
"Southclaws/zcmd",

 
"maddinat0r/sscanf:v2.8.3",

 
"BigETI/pawn-memory:2.0.1"

 
], 


  Funciones de MySQL R41-4.
Posted by: keloke - 2020-05-26, 08:34 AM - Forum: Programaci?n - Replies (1)

Hola a todos.



En la actualizaci?n de versi?n MySQL de una gamemode a la R41-4, me encuentro con el problema de que ha cambiado demasiado.



?Alguien me podr?a a ayudar, en indicarme cu?les son las funciones de las versiones anteriores en la nueva?



Ejemplo random



MYSQL R39 es bla bla bla, en MySQL 41-4 es bla bla bla



Gracias!


Heart Steven's Dynamic House System [MySQL]
Posted by: Steven - 2020-05-24, 03:16 PM - Forum: Filterscripts - No Replies

Well, I was lurking around with scripting and scripted a filterscript. It is a Dynamic House system. Hope you like it:



Features:

- Totally Dynamic MYSQL R41

- Drugs storage

- Money storage



-- I did this in one day btw, so any errors please tell me, i didnt find any bug btw.



CMDS:

- /ahouse - for admin to create or edit house

- /house for? the owner



I havent took screenshots and its just simple so no ss:

AND I know ppl will say this is same thing others have posted so yeah maybe but this is basic for someone to learn or Maybe I myself will learn by posting here.

Criticism is highly appreciated.



CODE: (Pastenbin is dead in Pakistan)

https://controlc.com/c80b761c