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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,265
» Latest member: yutuber.yandex
» Forum threads: 2,198
» Forum posts: 11,967

Full Statistics

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

Latest Threads
[MAP] Los Santos Gun Rang...
Forum: Videos and Screenshots
Last Post: Emirto
Yesterday, 09:38 PM
» Replies: 2
» Views: 639
looking for someone who c...
Forum: Chat
Last Post: bishop1
Yesterday, 05:55 PM
» Replies: 0
» Views: 21
Can't join to my server.
Forum: Pawn Scripting
Last Post: gpayment99
Yesterday, 12:26 PM
» Replies: 3
» Views: 428
JoyRP - The beautiful RP ...
Forum: Advertisements
Last Post: Xehos
Yesterday, 12:23 PM
» Replies: 0
» Views: 11
Server Crashing
Forum: Support
Last Post: quitela69
2024-09-14, 11:41 PM
» Replies: 0
» Views: 27
advapi32.dll
Forum: Support
Last Post: Zaidyy
2024-09-14, 12:09 PM
» Replies: 0
» Views: 18
hello,
Forum: Tech
Last Post: llogo620
2024-09-10, 09:21 AM
» Replies: 0
» Views: 28
Forgot my password for se...
Forum: Support
Last Post: jeanpierrecarpio63
2024-09-10, 02:00 AM
» Replies: 0
» Views: 27
SA-MP dedicated server Pa...
Forum: Questions and Suggestions
Last Post: joaolucasdesouza0
2024-09-08, 07:55 PM
» Replies: 0
» Views: 27
Samp R revision related q...
Forum: General Discussions
Last Post: cordov
2024-09-04, 02:29 PM
» Replies: 0
» Views: 70

 
  Publica tus mods/skins aqui
Posted by: Tio Verde - 2019-04-13, 11:49 PM - Forum: Spanish/Espa?ol - Replies (6)

Pues lo del titulo as? esto se ve bien organizado y bello para los que lo visitan por primera ves?



Dejo este pack: [Video: https://www.youtube.com/watch?v=vV1K7y5fqEs]


  Login & Register Base Script
Posted by: solstice - 2019-04-13, 11:43 PM - Forum: Gamemodes - Replies (9)

Hello. I have created this a while ago and decided to release it here. This doesn't have any extra stuff and is not playable at all. Players can only login & register, and it's meant to help people start a gamemode from scratch.



Installation

GitHub?(Includes BCrypt & Whirlpool versions)



Screenshots

https://imgur.com/a/8cH1lMa



Changelog

Code:
Additions:

[] BCrypt version (25/10/2018)

[] /changepassword (BCrypt only) - (24/02/2019)



Changes:

[~] Enumerator Variables (20/09/2018)

[~] Saving System (20/09/2018)



Removed:

[-] MySQL auto-reconnect option (20/09/2018)



Credits

Y_Less - sscanf & Whirlpool

BlueG & maddinat0r - MySQL

Zeex - zcmd

Emmet - easyDialog

Johnson_boy - BCrypt

Bork - Helping with BCrypt.



( This is a copy-pasted thread from the SA-MP forums and it was released by me a while back).


  ?Qu? opinan sobre el triste cierre defintiivo de Samphub?
Posted by: Glavez - 2019-04-13, 11:35 PM - Forum: Spanish/Espa?ol - Replies (20)

[Image: vJ57Qmn.png]


  Sobre el lenguaje de programaci?n...
Posted by: Glavez - 2019-04-13, 11:13 PM - Forum: Spanish/Espa?ol - Replies (18)

?Seguira siendo pawno el lenguaje o incluiran otro nuevo?


  Quienes m?s abrir?n su servidor en esta nueva plataforma?
Posted by: G0NZ4L0 - 2019-04-13, 11:08 PM - Forum: Discusi?n GTA SA Multijugador - Replies (64)

La verdad es que yo si lo har? , ahora s? me motivo a hacerlo.


  Balkan
Posted by: Wolf - 2019-04-13, 11:06 PM - Forum: Ex-Yu - Replies (176)

Chat za balkance





Ja: Hrvat


  TextDraw Streamer* - No more textdraw limits!
Posted by: kristo - 2019-04-13, 11:05 PM - Forum: Libraries - Replies (3)

TextDraw Streamer* - No more textdraw limits!



[Image: sampctl-samp--td--streamer-2f2f2f.svg?st...-the-badge]



This library removes the limits on how many textdraws can be created at the same time (2048 global and 256 per-player textdraws as of 0.3.7 and 0.3.DL). The library works by only creating the textdraws when they are visible for anyone. This is a rewrite of the PlayerTextDrawStreamer include, originally created by theYiin and later maintained by me. Some benefits over the old include:


  • Support for global textdraws.

  • No limits at all - the old include used static arrays meaning that the limits were still there, they were just higher. This library uses PawnPlus for dynamic containers and dynamically allocated strings, meaning that

  • Smaller footprint on the binary size - Again, static arrays are replaced with dynamic memory, the old include increased the binary size by several megabytes and also increased the compilation time drastically, compared to this the footprint of this library is almost non-existent.


* - Technically, this library does not do any streaming. However, in the SA-MP community, the name ?streamer? is often associated with something that removes hardcoded limits from something, therefore this name is used to help people find the library.



Installation



Simply install to your project:



Code:
sampctl package install kristoisberg/samp-td-streamer



To use the streamer for global textdraws, include the following file:



PHP Code:
#include <td-streamer-global> 



To use the streamer for per-player textdraws, include the following file:



PHP Code:
#include <td-streamer-player> 



If you wish to use it for both, you can either include both of the previous files or simply include:



PHP Code:
#include <td-streamer> 



Notes: This library must be the first one to hook any textdraw-related functions, otherwise a compile time error will be thrown. Neither should any textdraw-related functions or callbacks be used before the inclusion of this library. If YSF or SKY are used, they must be included before this library.



Usage



The include is completely plug & play, after being installed properly it should automatically do its job.



Functions



The following functions are either modified or added by this library:



td-streamer-global.inc



PHP Code:
Text:TextDrawCreate(Float:xFloat:y, const text[]);

Text:TextDrawCreate_s(Float:xFloat:yString:text);

IsValidTextDraw(Text:text);

TextDrawDestroy(Text:text);

TextDrawShowForPlayer(playeridText:text);

TextDrawHideForPlayer(playeridText:text);

TextDrawShowForAll(Text:text);

TextDrawHideForAll(Text:text);

IsTextDrawVisibleForPlayer(playeridText:text);

TextDrawSetString(Text:text, const string[]);

TextDrawGetString(Text:textstring[], len sizeof(string));

TextDrawSetString_s(Text:textString:string);

String:TextDrawGetString_s(Text:text);

TextDrawSetPos(Text:textFloat:xFloat:y); // TextDrawSetPosition also works if SKY is included

TextDrawGetPos(Text:text, &Float:x, &Float:y);

TextDrawLetterSize(Text:textFloat:xFloat:y);

TextDrawGetLetterSize(Text:text, &Float:x, &Float:y);

TextDrawTextSize(Text:textFloat:xFloat:y);

TextDrawGetTextSize(Text:text, &Float:x, &Float:y);

TextDrawColor(Text:textcolor);

TextDrawGetColor(Text:text);

TextDrawBoxColor(Text:textcolor);

TextDrawGetBoxColor(Text:text);

TextDrawBackgroundColor(Text:textcolor);

TextDrawGetBackgroundColor(Text:text);

TextDrawSetShadow(Text:textsize);

TextDrawGetShadow(Text:text);

TextDrawSetOutline(Text:textsize);

TextDrawGetOutline(Text:text);

TextDrawFont(Text:textfont);

TextDrawGetFont(Text:text);

TextDrawUseBox(Text:text, use);

TextDrawIsBox(Text:text);

TextDrawSetProportional(Text:textset);

TextDrawIsProportional(Text:text);

TextDrawSetSelectable(Text:textset);

TextDrawIsSelectable(Text:text);

TextDrawAlignment(Text:textalignment);

TextDrawGetAlignment(Text:text);

TextDrawSetPreviewModel(Text:textmodel);

TextDrawGetPreviewModel(Text:text);

TextDrawSetPreviewRot(Text:textFloat:xFloat:yFloat:zFloat:zoom 1.0);

TextDrawGetPreviewRot(Text:text, &Float:x, &Float:y, &Float:z, &Float:zoom);

TextDrawSetPreviewVehCol(Text:textcolor1color2);

TextDrawGetPreviewVehCol(Text:text, &color1, &color2);

TextDrawSetExtraID(Text:textextra1extra2 INVALID_TEXTDRAW_EXTRA_ID);

TextDrawGetExtraID(Text:text, &extra1, &extra2 INVALID_TEXTDRAW_EXTRA_ID); 



td-streamer-player.inc



PHP Code:
PlayerText:CreatePlayerTextDraw(playeridFloat:xFloat:y, const text[]);

PlayerText:CreatePlayerTextDraw_s(playeridFloat:xFloat:yString:text);

PlayerTextDrawDestroy(playeridPlayerText:text);

PlayerTextDrawShow(playeridPlayerText:text);

PlayerTextDrawHide(playeridPlayerText:text);

IsPlayerTextDrawVisible(playeridPlayerText:text);

PlayerTextDrawSetString(playeridPlayerText:text, const string[]);

PlayerTextDrawGetString(playeridPlayerText:textstring[], len sizeof(string));

PlayerTextDrawSetString_s(playeridPlayerText:textString:string);

String:PlayerTextDrawGetString_s(playeridPlayerText:text);

PlayerTextDrawSetPos(playeridPlayerText:textFloat:xFloat:y); // PlayerTextDrawSetPosition also works if SKY is included

PlayerTextDrawGetPos(playeridPlayerText:text, &Float:x, &Float:y);

PlayerTextDrawLetterSize(playeridPlayerText:textFloat:xFloat:y);

PlayerTextDrawGetLetterSize(playeridPlayerText:text, &Float:x, &Float:y);

PlayerTextDrawTextSize(playeridPlayerText:textFloat:xFloat:y);

PlayerTextDrawGetTextSize(playeridPlayerText:text, &Float:x, &Float:y);

PlayerTextDrawColor(playeridPlayerText:textcolor);

PlayerTextDrawGetColor(playeridPlayerText:text);

PlayerTextDrawBoxColor(playeridPlayerText:textcolor);

PlayerTextDrawGetBoxColor(playeridPlayerText:text);

PlayerTextDrawBackgroundColor(playeridPlayerText:textcolor);

PlayerTextDrawGetBackgroundColor(playeridPlayerText:text);

PlayerTextDrawSetShadow(playeridPlayerText:textsize);

PlayerTextDrawGetShadow(playeridPlayerText:text);

PlayerTextDrawSetOutline(playeridPlayerText:textsize);

PlayerTextDrawGetOutline(playeridPlayerText:text);

PlayerTextDrawFont(playeridPlayerText:textfont);

PlayerTextDrawGetFont(playeridPlayerText:text);

PlayerTextDrawUseBox(playeridPlayerText:text, use);

PlayerTextDrawIsBox(playeridPlayerText:text);

PlayerTextDrawSetProportional(playeridPlayerText:textset);

PlayerTextDrawIsProportional(playeridPlayerText:text);

PlayerTextDrawSetSelectable(playeridPlayerText:textset);

PlayerTextDrawIsSelectable(playeridPlayerText:text);

PlayerTextDrawAlignment(playeridPlayerText:textalignment);

PlayerTextDrawGetAlignment(playeridPlayerText:text);

PlayerTextDrawSetPreviewModel(playeridPlayerText:textmodel);

PlayerTextDrawGetPreviewModel(playeridPlayerText:text);

PlayerTextDrawSetPreviewRot(playeridPlayerText:textFloat:xFloat:yFloat:zFloat:zoom 1.0);

PlayerTextDrawGetPreviewRot(playeridPlayerText:text, &Float:x, &Float:y, &Float:z, &Float:zoom);

PlayerTextDrawSetPreviewVehCol(playeridPlayerText:textcolor1color2);

PlayerTextDrawGetPreviewVehCol(playeridPlayerText:text, &color1, &color2);

PlayerTextDrawSetExtraID(playeridPlayerText:textextra1extra2 INVALID_TEXTDRAW_EXTRA_ID);

PlayerTextDrawGetExtraID(playeridPlayerText:text, &extra1, &extra2 INVALID_TEXTDRAW_EXTRA_ID); 



Testing



The test.pwn file contains automated tests and a test script using MSelect by Open-GTO. To test, simply run the package:



Code:
sampctl package run


  Suggestion: forums
Posted by: klays - 2019-04-13, 11:05 PM - Forum: Chat - Replies (1)

separate the sections referring to programming (plugins/includes, questions, etc.)


  Are you as anxious as I am?
Posted by: G0NZ4L0 - 2019-04-13, 10:58 PM - Forum: General Discussions - Replies (10)

Uff, the truth is I am very anxious about the new mod that you are developing because it was time for something new, I dare to say that I will be one of the first to open a Spanish-speaking server on this new platform :)



If my English is bad please excuse me because I speak in the Spanish language and because the Google translator has its problems sometimes hahaha, I am anxious to get the new platform.


  ?Que servidores crees que se pasaran a esta plataforma?
Posted by: Tio Verde - 2019-04-13, 10:54 PM - Forum: Discusi?n GTA SA Multijugador - Replies (55)

Yo creo que SampHub vendr??a esta plataforma as? evita los ataques? de Sergioo



?Que opinan?