Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 202 online users. » 0 Member(s) | 199 Guest(s) Bing, Google, Yandex
|
Latest Threads |
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
Yesterday, 04:55 PM
» Replies: 2
» Views: 2,110
|
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
Yesterday, 01:25 PM
» Replies: 1
» Views: 28
|
Very Basic SAMP UCP
Forum: Videos and Screenshots
Last Post: bullyalina
Yesterday, 12:43 PM
» Replies: 49
» Views: 12,718
|
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 421
|
NFPA 318 Guidelines for C...
Forum: Videos and Screenshots
Last Post: elvishparker277
2025-06-27, 11:05 AM
» Replies: 0
» Views: 40
|
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 530
|
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,050
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 43
|
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 58
|
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 82
|
|
|
[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)
|
|
|
|