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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,854
» Latest member: fernandocabral1712
» Forum threads: 2,378
» Forum posts: 12,279

Full Statistics

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

Latest Threads
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
6 hours ago
» Replies: 10
» Views: 1,102
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
8 hours ago
» Replies: 9
» Views: 710
[Comunidade] Pawn Hub
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-13, 06:26 PM
» Replies: 0
» Views: 26
The size of the output am...
Forum: Questions and Suggestions
Last Post: wartacho
2026-01-11, 11:56 AM
» Replies: 1
» Views: 222
Why your server's economy...
Forum: General Discussions
Last Post: wartacho
2026-01-11, 11:39 AM
» Replies: 0
» Views: 60
Battlezone 2050 - Circa 2...
Forum: Gamemodes
Last Post: SwisherSweet
2026-01-11, 03:43 AM
» Replies: 1
» Views: 74
World War 3 - TDM - Circa...
Forum: Gamemodes
Last Post: SwisherSweet
2026-01-11, 03:24 AM
» Replies: 0
» Views: 55
Vortex Gaming server
Forum: Ex-Yu
Last Post: pmemorex2016
2026-01-10, 02:32 PM
» Replies: 0
» Views: 51
ZombieX Survival 0.3.7
Forum: Advertisements
Last Post: fazpharma148
2026-01-10, 11:47 AM
» Replies: 0
» Views: 53
The status of the INPC SD...
Forum: Support
Last Post: DLCode
2026-01-07, 07:33 AM
» Replies: 0
» Views: 76

 
  [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?


  Cannot connect to a lot of servers
Posted by: Chessy - 2021-04-28, 04:17 AM - Forum: Support - Replies (1)

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

What i tested:
* Reinstalling GTA, Reinstalling SA-MP
* Creating another windows user
* Unabling Windows Firewall totally.

When i ping these servers in cmd they ping correctly with no issues...

Whats happening? Anyone has an idea? Thanks.

Its only with me, i have a friend 2 houses away that has the same ISP and can connect to them all. 100Mbps.

[Image: stv7wmT.jpg]


  PCU
Posted by: Hitler - 2021-04-28, 03:30 AM - Forum: Pawn Scripting - Replies (2)

Espa?ol:?Hola buenas, ?alguien sabe de alguna guia para crear un pcu para mi servidor?, porque he buscado pero no encuentro nada



English:?Hello good, does anyone know of any guide to create a pcu for my server?, Because I have searched but I can not find anything


  CTime Help
Posted by: israel_Oliveira - 2021-04-27, 03:01 PM - Forum: Pawn Scripting - No Replies

I'm not able to load the plugin on windows, what are the dependencies?





crashdetect



Code:
[11:54:45] Run time error 19: "File or function is not found"



[11:54:45]? localtime

[11:54:45]? strftime





Loading plugin: CTime



? Failed.



Script[gamemodes/BPG.amx]: Run time error 19: "File or function is not found"


  How to hide PedSlotUsed (F5)
Posted by: annety - 2021-04-27, 08:50 AM - Forum: Pawn Scripting - Replies (3)

Everybody in my server uses that?PedSlotUsed in my survivor server as a hack, to know if there is anybody around...

I would like to hide this information, there is any way?


  Error: No est?s cerca de un basurero/container
Posted by: Chessy - 2021-04-27, 06:31 AM - Forum: Programaci?n - Replies (4)

(nos? porqu? se espacia as? ed horrible autom?ticamente el post).



Hola, resulta que estoy desarrollando un sistema de basureros, los cuales se puede ver el contenido con un comando llamado /verbasura.







Hace un ratito estaba funcionando bien, no s? si es porque es las 3 de la ma?ana y tengo brain lagging o el error no es l?gico.







Cuesti?n, ocupo este comando /verbasura al lado del container y me dice, no est?s cerca de un container







Me pregunt? si el rango de operaci?n del comando era muy corto, le agrand? m?s, fui a la db, ocup? las coordenadas exactas que se guardaron al ser creado (porque son din?micos) y ni as?.







Este es el comando:







Code:
CMD:verbasura(playerid, params[])



{



new success;





for (new e = 1; e < MAX_CONTAINERS; e)





{



if(IsPlayerInRangeOfPoint(playerid,5,containerInfo[e][cX], containerInfo[e][cY], containerInfo[e][cZ]))



{





success;



if(GetPVarInt(playerid,"ESPOSADO"))



{



ErrorM(playerid, "Est?s esposado, no puedes hacer esto en este momento.");



return 1;

}



MostrarBasura(playerid, e);





return 1;





}





}



if(!success) ErrorM(playerid, "No est?s cerca de un basurero/container.");





SetPVarInt(playerid, "caflood", GetTickCount());





return 1;





}



Me dir?s, ah, debe ser porque



Code:
containerInfo[e][cX], containerInfo[e][cY], containerInfo[e][cZ]



Son valores vac?os, tienen un 0. Y no, porque se ocupan para crear el objeto y el label flotante arriba del contenedor...



?Puede ser porque la funci?n mostrarbasura genere error (trat? de descartarlo con la variable success)? (No hay errores en mysql.log [Est? en modo ALL] / error.log / warnings.log / server_log.txt)


  How does one make a top5 ranking?
Posted by: Z3fRaN - 2021-04-26, 11:04 PM - Forum: Pawn Scripting - Replies (2)

I don't have the idea of how to make a top 5 ranking, like top 5 killers of the server, what do I need to do in order to script something like that?


  Help! How to make a Marine Submarine System Moveable in the Sea with w a s d control?
Posted by: PutuSuhartawan - 2021-04-25, 08:49 PM - Forum: Pawn Scripting - Replies (2)

I first created a ship and made the dynamic object move. But I have a question, how can ships or objects be controlled again using the keyboard? like driving a vehicle in general?


  how to make a casino system?
Posted by: Boxi - 2021-04-25, 07:12 PM - Forum: Pawn Scripting - Replies (2)

Hello to all forum friends, I have a question, do you know how I can make the casino games that brings the default gta in the story mode? the card game, the swallow coins, roulette, or similar things, is it possible? greetings!