Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 738 online users. » 0 Member(s) | 735 Guest(s) Bing, Google, Yandex
|
Latest Threads |
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
11 hours ago
» Replies: 0
» Views: 36
|
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
2025-09-12, 07:47 PM
» Replies: 0
» Views: 63
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
2025-09-12, 02:16 PM
» Replies: 1
» Views: 88
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 78
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 216
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 307
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 386
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 369
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 154
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 252
|
|
|
[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.
|
|
|
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)
|
|
|
|