| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,102
» Latest member: frogfoot
» Forum threads: 2,445
» Forum posts: 12,464
Full Statistics
|
| Online Users |
There are currently 320 online users. » 2 Member(s) | 316 Guest(s) Bing, Yandex, Levii.M
|
| Latest Threads |
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
Yesterday, 03:53 PM
» Replies: 0
» Views: 39
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
Yesterday, 09:11 AM
» Replies: 0
» Views: 43
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 46
|
Grow Your Book with Influ...
Forum: General Discussions
Last Post: Bestsellerllc
2026-04-23, 05:25 PM
» Replies: 0
» Views: 38
|
sterhdf
Forum: Pawn Scripting
Last Post: wolvam
2026-04-23, 03:45 AM
» Replies: 0
» Views: 57
|
yytiktyi
Forum: Support
Last Post: wolvam
2026-04-23, 03:43 AM
» Replies: 0
» Views: 45
|
hrreyeru
Forum: Questions and Suggestions
Last Post: wolvam
2026-04-23, 03:42 AM
» Replies: 0
» Views: 68
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 53
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 73
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 90
|
|
|
| Set Objects To Virtual World |
|
Posted by: dondo - 2021-05-29, 11:44 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Dear community,
i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.
Thanks!
|
|
|
|
| [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?
|
|
|
|
| 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.
|
|
|
|
|