Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 240 online users. » 0 Member(s) | 237 Guest(s) Bing, Google, Applebot
|
Latest Threads |
Red County Roleplay | Med...
Forum: Advertisements
Last Post: TommyB
Today, 08:50 AM
» Replies: 0
» Views: 45
|
How to create a custom SA...
Forum: Tech
Last Post: S.S.
Yesterday, 07:46 PM
» Replies: 0
» Views: 20
|
Open Mp Server resartint ...
Forum: Support
Last Post: passedthedemon
2025-07-13, 10:16 PM
» Replies: 0
» Views: 37
|
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
2025-07-12, 09:17 PM
» Replies: 7
» Views: 8,608
|
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 74
|
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,372
|
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 173
|
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 52
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,747
|
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 75
|
|
|
[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)
|
|
|
|