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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,590
» Latest member: folvep
» Forum threads: 2,448
» Forum posts: 12,469

Full Statistics

Online Users
There are currently 183 online users.
» 0 Member(s) | 180 Guest(s)
Bing, Google, Yandex

Latest Threads
dhfhery
Forum: Pawn Scripting
Last Post: folvep
Yesterday, 12:48 PM
» Replies: 0
» Views: 26
rhrretru
Forum: Support
Last Post: folvep
Yesterday, 12:46 PM
» Replies: 0
» Views: 23
arfawrfatv
Forum: Questions and Suggestions
Last Post: folvep
Yesterday, 12:44 PM
» Replies: 0
» Views: 22
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-04, 01:44 PM
» Replies: 0
» Views: 66
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: Crazy_ArKzX
2026-05-02, 11:28 AM
» Replies: 1
» Views: 130
Object Remove?
Forum: Support
Last Post: Mivco
2026-04-29, 08:12 PM
» Replies: 0
» Views: 66
Floorp is a good webbrows...
Forum: Tech
Last Post: NoxxeR
2026-04-29, 01:01 AM
» Replies: 0
» Views: 87
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-04-27, 03:36 PM
» Replies: 0
» Views: 94
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
2026-04-27, 12:03 AM
» Replies: 41
» Views: 85,698
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 95

 
  refresh query every 1 sec
Posted by: Zow - 2021-05-01, 11:40 AM - Forum: Pawn Scripting - Replies (4)

I want to refresh pCoin after people refill wallet

but I don't know how to do it better

just want real time Coin after refill



Code:
ptask RefreshCoinTimer[1000](playerid) {

? ? if (!LoginStatus[playerid]) {

? ? ? ? return 0;

? ? }

? ? new

? ? ? ? query[100]

? ? ;

? ? mysql_format(dbCon, query, sizeof(query),

? ? "\

? ? ? ? SELECT \

? ? ? ? ? ? pCoin \

? ? ? ? FROM \

? ? ? ? ? ? players \

? ? ? ? WHERE \

? ? ? ? ? ? ID= %d\

? ? ",

? ? ? ? PlayerInfo[playerid][pID]

? ? );

? ? mysql_tquery(dbCon, query, "RefreshCoin", "i", playerid);

? ? return 1;

}



forward RefreshCoin(playerid);

public RefreshCoin(playerid) {

? ? cache_get_value_name_int(0, "pCoin", coin);



? ? PlayerInfo[playerid][pCoin] = coin;

}


  Night Deathmatch Gamemode (silent aimbot, wallshot, speed hack %100 fixed.)
Posted by: Hata - 2021-05-01, 10:27 AM - Forum: Gamemodes - Replies (3)

Removed.


  [SOLVED] How to quickly find ERROR results in the old Build Result Pawncc compiler ?
Posted by: PutuSuhartawan - 2021-04-30, 11:17 PM - Forum: Pawn Scripting - Replies (6)

SOLUTION:

Code:
Open the noteped text editor copy notification from compiler and paste to noteped editor, Finaly CTR  F a error words faster then



How to quickly find ERROR results in the old Build Result Pawncc compiler, i cant? CTRL F.

Frankly speaking, the result compiler system can't be CTRL F. So my eyes are dizzy looking for the error message because there are too many warnings, even more than 3000 warnings?


  [SOLVED] how make a correct IF function with for parameter vehicle ID == enum id
Posted by: PutuSuhartawan - 2021-04-30, 10:50 PM - Forum: Pawn Scripting - Replies (4)

SOLUTION:

Code:
stock IsPlayerInDealerVehicle(playerid)



{



new s; new invehicleid = GetPlayerVehicleID(playerid);



for( s=1; s<MAX_SALON_SLOT; s)



? ? ? ? {











for(new salon=1; salon<MAX_SALON; salon)



? ? ? ? {



? ? ? ? ? ? ?



? ? ? ? ? ? ? if(SalonCarIdSlot[salon][s] == invehicleid)



? ? ? ? ? ? ? {



? ? ? ? ? ? ??







? ? ? ? ? ? ? SetPVarInt(playerid, "UseIdSalon", salon);







SetPVarInt(playerid, "UseSlotSalon", s);



? ? ? ? ? ? ? new sVehSlotDeal = s;



? ? ? ? ? ? ? new salonDealID = salon;



? ? ? ? ? ? ? new st[160];



format(st,sizeof(st),"Anda yakin ingin membeli nomor tansport %i?\n\nModel: %s\nBiaya: $%i",



sVehSlotDeal ,NameCars(SalonModelSlot[salonDealID][sVehSlotDeal]),SalonPriseSlot[salonDealID][sVehSlotDeal]);



ShowPlayerDialog(playerid,64, DIALOG_STYLE_MSGBOX, "Pasar mobil", st, "Untuk membeli", "Keluarlah");



? ? ? ? ? ? ? return true;



? ? ? ? ? ? ? }



? ? ? ? ? ? ?







? ? ? ? }



}? ? ? ? ?











return 0;







}



how to make a correct IF function with the required parameter for a vehicle ID that has many Increments?

I find it difficult to match the player into a particular car.



Code:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)

{

if(!ispassenger)

{

new slot=GetPVarInt(playerid,"SalonSlot");

new salon;

for(new s=1;s<MAX_SALON_SLOT;s)

? ? ? ? ? ? {

? ? ? ? ? ? ?







if(vehicleid == SalonCarIdSlot[salon][s] )

{

new st[160];

format(st,sizeof(st),"Anda yakin ingin membeli nomor tansport %i?\n\nModel: %s\nBiaya: $%i",slot,NameCars(SalonModelSlot[s][slot]),SalonPriseSlot[s][slot]);

ShowPlayerDialog(playerid,64, DIALOG_STYLE_MSGBOX, "Pasar mobil", st, "Untuk membeli", "Keluarlah");

}





}



}





// IS THE CODE TRUE FOR ?

// If function detect is that vehicle a vehicle created for dealer vehicle

}



How to display dialog style on certain vehicles group enum?


  No puedo entrar a muchos servidores.
Posted by: Chessy - 2021-04-30, 05:09 PM - Forum: Programación - Replies (2)

hi there, i simply cannot connect to any server that i list, but when i go in the Internet tab it shows a lot of servers, and i can play them, but this ones not, for some reason not, i tried using the numeric IP and it either didn't work



Hola gente, tengo un problema, y es que simplemente no me puedo conectar a ninguno de los servidores que tengo en mi lista de favoritos, pero cuando voy a la pesta?a Internet me muestra un mont?n de servidores, a los cuales puedo jugar,?y si los agrego a mi lista tambi?n, excepto justo estos que muestro en la lista, tampoco cambiando la IP DNS por la num?rica afecta en nada



Qu? fue lo que prob?:

* Reinstalar el GTA y dejarlo virgen s?lo con SA-MP, reinstalar SA-MP solo

* Borrar todo lo del regedit relacionado a SA-MP

* Deshabilitar totalmente el Firewall de Windows, agregar SA-MP como excepci?n total

* Crear otro usuario de Windows

* Reiniciar el modem durante 10 minutos varias veces (no cambia nunca la IP)

* Trat? de usar otros launchers de SA-MP, tampoco, nada.

* Los VPN me andan muy lageados



Cuando hago ping a estos servidores con ping x en cmd funciona bien.



Qu? puede estar pasando? Alguna idea?



Es s?lo conmigo, tengo un amigo a 2 casas de distancia que tiene el mismo proveedor de internet y se puede conectar a todos estos. Ya no s? qu? hacer.



[Image: stv7wmT.jpg]


  How to run samp android on PC
Posted by: annety - 2021-04-29, 12:46 PM - Forum: Support - Replies (4)

How to run samp android on PC?


  HELP! How to display data from enum trunk to DIALOG_STYLE_TABLIST_HEADERS
Posted by: PutuSuhartawan - 2021-04-29, 05:49 AM - Forum: Pawn Scripting - No Replies

So right here, I have a vehicle trunk data table but I am confused about sorting the list items in the vehicle in the same dialog. How do you get from the table with the same vehicle ID to be displayed in the sytle header dialog, all items that should be in the same car appear sequentially?


  Is there a bandage animation?
Posted by: Boxi - 2021-04-28, 09:07 PM - Forum: Pawn Scripting - Replies (1)

well basically I would like to know if there is an animation where the character puts on the bandages (or similar) thanks!


  [SOLVED] How to get Zcmd to notify you when a command is wrong
Posted by: PutuSuhartawan - 2021-04-28, 05:47 PM - Forum: Pawn Scripting - Replies (2)

Code:
// SOLUTION

public OnPlayerCommandPerformed(playerid, cmdtext[], success)

{

if(!success) return SendClientMessage(playerid, -1, "INVALID CMD.");



return 1;

}





For 6 months I was confused about how to notify someone that someone typed cmd. because since using include zmd, the function for warning notification of cmd input errors has been lost so far in my gamemode. please help sir.


  MYSQL R41-4
Posted by: israel_Oliveira - 2021-04-28, 02:38 PM - Forum: Support - Replies (6)

Good afternoon, I am using the mysql plugin and I have this problem.



[color=#333333][size=small][font=Tahoma, Verdana, Arial, sans-serif]

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

[04/28/21 11:14:16] [ERROR] mysql_format: invalid connection handle '0'

[04/28/21 11:14:16] [ERROR] mysql_format: invalid connection handle '0'

[04/28/21 11:14:16] [ERROR] mysql_format: invalid connection handle '0'

[04/28/21 11:14:16] [ERROR] error #1065 while executing query "": Query was empty

[04/28/21 11:14:16] [ERROR] error #1065 while executing query "": Query was empty

[04/28/21 11:14:16] [ERROR] error #1065 while executing query "": Query was empty

[04/28/21 11:14:23] [ERROR] mysql_format: invalid connection handle '0'

[04/28/21 11:14:23] [ERROR] error #1065 while executing query "": Query was empty

[04/28/21 11:14:24] [ERROR] mysql_format: invalid connection handle '0'

[04/28/21 11:14:24] [ERROR] error #1065 while executing query "": Query was empty

[04/28/21 11:16:48] [ERROR] error #1064 while executing query "er Logs:{ffffff} ComandoLog

": You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'er Logs:{ffffff} ComandoLog' at line 1





My server and linux and I'm using another windows vps with xampp to use the database

I've managed to make the connection but I can't add or consult anything in the database



Can someone help me?