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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,903
» Latest member: cherybomb
» Forum threads: 2,397
» Forum posts: 12,307

Full Statistics

Online Users
There are currently 442 online users.
» 1 Member(s) | 439 Guest(s)
Google, Bing

Latest Threads
Manual sorting of servers...
Forum: Questions and Suggestions
Last Post: cherybomb
Today, 02:58 AM
» Replies: 2
» Views: 1,426
Project: Las Venturas Rol...
Forum: Advertisements
Last Post: Kremzy
2026-02-02, 10:14 PM
» Replies: 0
» Views: 29
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-02-02, 07:04 PM
» Replies: 0
» Views: 21
ExDM Reborn
Forum: Advertisements
Last Post: 0775448400
2026-02-02, 03:38 PM
» Replies: 1
» Views: 65
IPv6 support
Forum: Questions and Suggestions
Last Post: Markski
2026-02-02, 12:58 AM
» Replies: 1
» Views: 43
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: Pevenaider
2026-01-27, 08:48 PM
» Replies: 11
» Views: 19,262
problema afisare dialog c...
Forum: Romanian/Rom?na
Last Post: rcst3phan
2026-01-27, 07:31 PM
» Replies: 0
» Views: 79
problem dialog clan membe...
Forum: Pawn Scripting
Last Post: rcst3phan
2026-01-27, 07:30 PM
» Replies: 0
» Views: 87
Verona Community opening
Forum: Advertisements
Last Post: pmemorex2016
2026-01-27, 07:01 AM
» Replies: 0
» Views: 63
Verona Community otvaranj...
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-27, 06:59 AM
» Replies: 0
» Views: 80

 
  [HELP] Help with a dialog
Posted by: Mathex - 2021-02-02, 01:55 AM - Forum: Pawn Scripting - Replies (1)

I tell you, I am creating a function that changes the colors in the band or faction that you are leading, but when I select the color the color is not applied to the band

*this is in a,?"ShowDialog (playerid, dialogid)"*



Code:
case CREW_MODIFY_COLOR:return ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_LIST, "Selecciona el nuevo color", DIALOG_CREATE_CREW_COLOR_String, "Cambiar", "Volver");


*and this is in,?"public OnDialogResponse (playerid, dialogid, response, listitem, const inputtext [])"*

Code:
case CREW_MODIFY_COLOR:[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]{[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? if(!response) return ShowDialog(playerid, CONFIG_BANDA);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? if(PLAYER_INFO[playerid][pFaccion] == 0) return SendClientMessage(playerid, -1,"No perteneces a una banda.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? if(PLAYER_INFO[playerid][pFaccion] == 1) return SendClientMessage(playerid, -1,"No puedes modificar el color de esta banda.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if(PLAYER_INFO[playerid][pRango] != 8) return SendClientMessage(playerid, -1, "No tienes permiso.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if(BandasInfo[ PLAYER_INFO[playerid][pFaccion] ][B_Atacando]) return SendClientMessage(playerid, -1, "No se puede cambiar el color cuando la banda est? en combate.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? ? ? ? ? for(new id = 0; id < MAX_BANDAS; id)[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]{[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if(BandasInfo[id][BColor] == RandomColors[listitem])[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]{[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? SendClientMessage(playerid, -1, "Color en uso, selecciona otro color.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]return ShowDialog(playerid, CREW_MODIFY_COLOR);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]}[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]}[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]? ? ? ? ? ? BandasInfo[PLAYER_INFO[playerid][pFaccion]][BColor] = RandomColors[listitem];[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]new r, g, b, a, new_territory_color;[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]HexToRGBA(BandasInfo[PLAYER_INFO[playerid][pFaccion]][BColor], r, g, b, a);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]new_territory_color = RGBAToHex(r, g, b, 135);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]for(new i = 0; i != MAX_T; i )[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]{[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if(!TERRITORIOS_INFO[i][Territorio_Valido]) continue;[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if(!TERRITORIOS_INFO[i][Territorio_Usado]) continue;[/font][/size][/color][/font][/size][/color]



[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]if((TERRITORIOS_INFO[i][Territorio_Banda] == BandasInfo[PLAYER_INFO[playerid][pFaccion]][bID]) || (TERRITORIOS_INFO[i][Territorio_BandaID] == BandasInfo[PLAYER_INFO[playerid][pFaccion]][bID]))[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]{[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]TERRITORIOS_INFO[i][Territorio_Color] = new_territory_color;[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]UpdateGangZoneColor(i);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]}[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]}[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]SendClientMessage(playerid,-1,"El color de tu banda fue cambiado correctamente.");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]new DB_Query[256];[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]mysql_format(handle_db, DB_Query,sizeof(DB_Query), "UPDATE `facciones` SET `Color` = '%d' WHERE `id`='%d';", BandasInfo[PLAYER_INFO[playerid][pFaccion]][BColor], BandasInfo[PLAYER_INFO[playerid][pFaccion]][bID]);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]mysql_query(handle_db, DB_Query, false);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]mysql_format(handle_db, DB_Query, sizeof(DB_Query), "UPDATE `territorios` SET `Color`='%d' WHERE `Banda`='%d'", new_territory_color, PLAYER_INFO[playerid][pFaccion]);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]mysql_query(handle_db, DB_Query, false);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]print("actualiza3");[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]ShowDialog(playerid, CONFIG_BANDA);[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]return 1;[/font][/size][/color][/font][/size][/color]

[color=#202124][size=x-large][font="Google Sans", arial, sans-serif][color=#202124][size=x-large][font="Google Sans", arial, sans-serif]}







And inside the game this happens:

[Image: Ks8Oly0.png]





I select the color and nothing happens



[Image: hYXTrHy.png]



And the console does not show errors





[Image: Eb9JdNV.png]


  [HELP] Business FileScript Error
Posted by: MiniKLK - 2021-02-01, 11:06 PM - Forum: Pawn Scripting - Replies (2)

I'm trying to add this filescript to my gm with mysql, but always i get errors like this, i'm always updating all my libraries and i uptadet all as i can but i'm not stopping getting errors... Please if someone can help me with this...I'll really appreciate! Thanks you so much, and have a nice day.



This is my discord if you can or want to help me:???#3040

If you can't add me, i'll try to add you, just let me know your Discord tag.

Bless.



[Image: HfGJvev.png]


  Login & Register system
Posted by: Flint - 2021-02-01, 03:47 PM - Forum: Videos and Screenshots - Replies (2)

like & subscribe <3 thx



https://youtu.be/0RpTX7zDQSk


  Inventory System
Posted by: RhaegarX - 2021-02-01, 02:46 AM - Forum: Pawn Scripting - Replies (2)

I am developing a Gamemode entirely in MySQL and I would like to create an item inventory system that stores food, accessories, among others.? However with the closed samp forum it is kind of hard to find content.? so I would like to know if anyone has a system like this so that I can study and understand how the logic behind it works, or if anyone could give an idea of what that logic would be like.


  SUMMING OBJECTS !!
Posted by: Gustavo P - 2021-01-31, 11:40 PM - Forum: Pawn Scripting - No Replies

some objects disappear from nowhere, how can i solve?


  Problems with y_hooks
Posted by: Frajola - 2021-01-31, 10:17 PM - Forum: Support - Replies (3)

y_hooks featuring warnings



PHP Code:
warning 200symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters

warning 200
symbol "@yH_OnVehicleDamageStatusUpdate" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerCommandPerformed@00" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerCommandPerformed@00" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerEnterRaceCheckpoint" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerEnterRaceCheckpoint" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters

warning 200
symbol "@yH_OnPlayerClickPlayerTextDraw" is truncated to 31 characters 





How to handle very large public names ?


  [Pedido] Como detectar s0beit.
Posted by: FelipeSilva - 2021-01-31, 09:43 PM - Forum: Portuguese/Portugu?s - Replies (8)

O t?tulo ? auto explicativo, como fa?o para?detectar se um jogador est? utilizando?s0beit?


  bcrypt
Posted by: Behemoth - 2021-01-30, 05:43 PM - Forum: Pawn Scripting - Replies (10)

Hey



I'm moving from whirlpool to bcrypt and really can't understand it. can someone give me an example of how you'd verify a password is the same as what is held in the sql db? i can register fine and it saves the password correctly, i'm just struggling to actually check it.



thanks


  [HELP] Animations
Posted by: fivezerofour - 2021-01-30, 05:40 PM - Forum: Pawn Scripting - Replies (1)

Hey, so I wanted to ask maybe someone knows how to allow the player to move while playing animation, just like LSRP? I can't find any solution to that. Thanks!


  kamikaze Artwork [GTA Style]
Posted by: Kamikaze - 2021-01-30, 01:41 PM - Forum: Art - Replies (1)

[Image: p5CvdO9.png]

[Image: jThksLE.png]

?

Taking REQS (FIVERR)

?

Copyright ? 2021 by kamikaze#8688?

All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other electronic or mechanical methods, without the prior written permission of the publisher, except in the case of brief quotations embodied in critical reviews and certain other noncommercial uses permitted by copyright law.