Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 652 online users. » 0 Member(s) | 650 Guest(s) Bing, Google
|
Latest Threads |
High-Precision Laser Weld...
Forum: General Discussions
Last Post: Young Harmoni
Yesterday, 03:26 PM
» Replies: 0
» Views: 22
|
Interesting
Forum: Chat
Last Post: Gerty23461
Yesterday, 12:36 PM
» Replies: 1
» Views: 35
|
I humor myself
Forum: Programming
Last Post: nami16504
2024-11-25, 04:28 PM
» Replies: 5
» Views: 8,075
|
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 46
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 44
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 64
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 480
|
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 57
|
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 78
|
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65
|
|
|
[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)
|
|
|
|