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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,497
» Latest member: Phat202146_real
» Forum threads: 2,240
» Forum posts: 12,045

Full Statistics

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

Latest Threads
White Screen
Forum: Support
Last Post: Phat202146_real
39 minutes ago
» Replies: 0
» Views: 2
Offensive-Core: TDM
Forum: Gamemodes
Last Post: threezhang.cn
5 hours ago
» Replies: 5
» Views: 884
Outstanding Customer Serv...
Forum: Chat
Last Post: va6220902
7 hours ago
» Replies: 0
» Views: 16
New place
Forum: Life
Last Post: sjaardamilly
8 hours ago
» Replies: 0
» Views: 15
How Zhewitra Oral Jelly W...
Forum: General Discussions
Last Post: erctilenovus
Yesterday, 08:39 AM
» Replies: 0
» Views: 19
Cenforce 100 Mg Medicine ...
Forum: Chat
Last Post: ezraallen45ea
2024-11-19, 10:00 AM
» Replies: 0
» Views: 31
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 38
What is the use of Wakler...
Forum: Other
Last Post: allencooper
2024-11-18, 10:37 AM
» Replies: 0
» Views: 23
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 436
How to sell a vehicle sam...
Forum: Chat
Last Post: irislime1209
2024-11-16, 08:44 AM
» Replies: 3
» Views: 1,209

 
  SAMPHUB.
Posted by: Angel_Jaeger - 2019-04-13, 11:58 PM - Forum: Spanish/Espa?ol - Replies (18)

Muchos de los que estar?n viendo esto me conocen de ese servidor. Y la verdad que esto me esta dando esperanzas de que regrese SampHub y que los demas servidores cerrados o que temen a salir porque los tumben, puedan triunfar sin la toxicidad de FenixZone y Ls RP-es (Los due?os y principales atacantes)





?Cuantos esperan el retorno de Samphub?


Big Grin Georgian
Posted by: dakyskye - 2019-04-13, 11:58 PM - Forum: Other - Replies (2)

????????????


  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.)