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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,913
» Latest member: eddying
» Forum threads: 2,402
» Forum posts: 12,318

Full Statistics

Online Users
There are currently 274 online users.
» 1 Member(s) | 270 Guest(s)
Baidu, Facebook, Google, eddying

Latest Threads
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2 hours ago
» Replies: 12
» Views: 1,357
open.mp ready DayZ gamemo...
Forum: Gamemodes
Last Post: Bombo
Today, 07:50 AM
» Replies: 0
» Views: 42
samp-essentials
Forum: Libraries
Last Post: 1NS
Yesterday, 12:51 PM
» Replies: 0
» Views: 31
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: selmir.beha
Yesterday, 05:13 AM
» Replies: 2
» Views: 133
Unban
Forum: Chat
Last Post: stryzo125
2026-02-06, 11:59 PM
» Replies: 2
» Views: 109
It has been a while
Forum: Chat
Last Post: Mauzen
2026-02-06, 08:36 PM
» Replies: 0
» Views: 39
HWID BAN
Forum: Questions and Suggestions
Last Post: stryzo125
2026-02-06, 03:27 PM
» Replies: 2
» Views: 1,894
Looking for Players for N...
Forum: Chat
Last Post: AlmightyJeremy
2026-02-04, 11:22 PM
» Replies: 0
» Views: 37
Manual sorting of servers...
Forum: Questions and Suggestions
Last Post: cherybomb
2026-02-04, 02:58 AM
» Replies: 2
» Views: 1,438
Project: Las Venturas Rol...
Forum: Advertisements
Last Post: Kremzy
2026-02-02, 10:14 PM
» Replies: 0
» Views: 65

 
  [Ayuda] Damage System
Posted by: icecoldkangaroo12 - 2021-05-29, 03:32 AM - Forum: Programaci?n - Replies (7)

Buenas comunidad.



Necesito ayuda respecto a un sistema de da?o?me refiero a un sistema de da?o infringido por armas



Me refiero -? fNecesito modificar el da?o que haga un arma en mi servidor pero lo quiero hacer sin utilizar includes o plugins que hagan este trabajo y aqu? voy a lo que lleve a crear este post, ?se pueden modificar el da?o de un arma sin utilizar por ejemplo <weapon-config>?



Ejemplo:? Necesito que el arma 'sawn-off' al jugador le quite -60 de vida por ejemplo o -50 o el valor que yo especifique, como llego a eso? hay alguna manera manual de hacerlo? si es as? necesito una respuesta y un ejemplo de como podria hacerlo porfavor :)?



NOTA - Estoy utilizando el callback OnPlayerTakeDamage(parameters)



Si me podrian dar una soluci?n o algunos ejemplos se los agradecer?a.


  Help with Damage System
Posted by: icecoldkangaroo12 - 2021-05-29, 01:16 AM - Forum: Pawn Scripting - Replies (14)

Dear Community



I wanna ask to you how can I make any damage system without using includes?



I mean if there is a possibility to make a different damage system, that a weapon will lower more life or that less life without using external plugins or includes?



Example - I need the sawn-off weapon to make -60 of damage?from the player who receives the shots, is that possible to do without using the above?



If you guys can guide/help me and show me some examples with code please



NOTE: I'm using the callback called OnPlayerTakeDamage(parameters) but i dont have anything of this?


  Streamer, I suppose
Posted by: Obie Jones - 2021-05-28, 08:56 PM - Forum: Pawn Scripting - Replies (5)

Greetings,



Do you possibly know what might be causing this?




  Is this dead or what?
Posted by: RoughDawg - 2021-05-28, 07:50 PM - Forum: General Discussions - Replies (13)

title.


  HELP! How to fix Compiler Pawncc Stuck AMX just in 0 KB ?
Posted by: PutuSuhartawan - 2021-05-28, 02:52 AM - Forum: Pawn Scripting - No Replies

[Image: 180323857_565426007767911_69698136967802...e=60D73283]


Big Grin delete
Posted by: koss5090 - 2021-05-26, 07:52 PM - Forum: Questions and Suggestions - No Replies

deleteit


  HELP! How to Aligned Format String to Center or Justifier Aligner ?
Posted by: PutuSuhartawan - 2021-05-26, 05:37 PM - Forum: Pawn Scripting - No Replies

Code:
new trunkdataslot1items[1000];

format(trunkdataslot1items, sizeof(trunkdataslot1items), ""COL_RED"SQL ID\t"COL_BLUE"Items\t"COL_GREEN"Amount\t"COL_GREEN"Owner\n");

? ? ? ? ? ? // max item id is 6. but in array show 7 because was counted from zero.

for(new s; s<MAX_TRUNK_SLOTS; s)

? ? ? ? ? ? {

? ? ? ? ? ? format(trunkdataslot1items, sizeof(trunkdataslot1items),

? ? ? ? ? ? " %s "COL_RED"%i \t"COL_BLUE" %s\t "COL_RED"%i %s\t"COL_GREEN" %i\n",

? ? ? ? ? ? trunkdataslot1items, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME), get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME_COUNT), get_vehicle_trunk[closestcar][s][TRUNK_OWNER_ID] );

? ? ? ? ? ? printf("[TRUNK]: Slot:[%i], SQL ID:[%d], Item Type:[%d], Amount:[%d], ", s, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE],? get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT]);

? ? ? ? ? ? }

ToggleBoot(pInfo[playerid][LastVehicleID], VEHICLE_PARAMS_ON);

? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_OPEN_VEHICLE_TRUNK, DIALOG_STYLE_TABLIST_HEADERS, DialogTitle , trunkdataslot1items, "Take it", "Close");

? ? ? ? ? ?


  OnPlayerSoundIDChange
Posted by: DTV - 2021-05-25, 10:29 PM - Forum: Questions and Suggestions - No Replies

Not sure how far fetched this is but have a callback that is able to detect any given sound ID that can be used in PlayerPlaySound, so if a player has a certain sound play near them like an explosion, the callback would be able to detect it.


  Hi, how are you
Posted by: nicoalejo01 - 2021-05-25, 08:54 PM - Forum: General Discussions - Replies (2)

Hey, I just wanted to know if you wanted to use my GTA's link, it's the original game of 2005 and has the original textures of beta version.



http://fumacrom.com/Wehl





Enjoy ;)


  [SOLVED] How use DIALOG_STYLE_TABLIST_HEADERS with loops for function wrong format
Posted by: PutuSuhartawan - 2021-05-25, 04:09 AM - Forum: Pawn Scripting - No Replies

SOLUTION:?

Put The format before for loops function

Code:
new trunkdataslot1items[1000];

format(trunkdataslot1items, sizeof(trunkdataslot1items), ""COL_RED"SQL ID\t"COL_BLUE"Items\t"COL_GREEN"Amount\n");

? ? ? ? ? ? for(new s; s < MAX_TRUNK_SLOTS; s )

? ? ? ? ? ? {

? ? ? ? ? ? ? ?

? ? ? ? ? ? format(trunkdataslot1items, sizeof(trunkdataslot1items),

? ? ? ? ? ? " %s %i \t"COL_GREEN" %s \t "COL_RED"%i %s \n",

? ? ? ? ? ? trunkdataslot1items, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME), get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME_COUNT)? );

? ? ? ? ? ? printf("[TRUNK]: Slot:[%i], SQL ID:[%d], Item Type:[%d], Amount:[%d], ", s, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE],? get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT]);

? ? ? ? ? ? }



? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_OPEN_VEHICLE_TRUNK, DIALOG_STYLE_TABLIST_HEADERS, DialogTitle , trunkdataslot1items, "Take it", "Close");

? ? ? ? ? ?

Problem:

How put?"COL_RED"SQL ID\t"COL_BLUE"Items\t"COL_GREEN"Amount\n in the right place?

Code:
? ? ? ? ? ? for(new s; s < MAX_TRUNK_SLOTS; s )

? ? ? ? ? ? {

? ? ? ? ? ? ? ?

? ? ? ? ? ? format(trunkdataslot1items, sizeof(trunkdataslot1items),

? ? ? ? ? ? " %s %i \t"COL_GREEN" %s \t "COL_RED"%i %s \n",

? ? ? ? ? ? trunkdataslot1items, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME), get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME_COUNT)? );

? ? ? ? ? ? printf("[TRUNK]: Slot:[%i], SQL ID:[%d], Item Type:[%d], Amount:[%d], ", s, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE],? get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT]);

? ? ? ? ? ? }



? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_OPEN_VEHICLE_TRUNK, DIALOG_STYLE_TABLIST_HEADERS, DialogTitle , trunkdataslot1items, "Take it", "Close");

? ? ? ? ? ?