Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 6,506
» Latest member: nohuvin
» Forum threads: 2,233
» Forum posts: 12,033
Full Statistics
|
Online Users |
There are currently 493 online users. » 0 Member(s) | 491 Guest(s) Google, Bing
|
Latest Threads |
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 30
|
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 31
|
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 50
|
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 453
|
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 49
|
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 66
|
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
|
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 456
|
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,462
|
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,904
|
|
|
VisualTexture |
Posted by: MrHind - 2019-05-05, 06:41 AM - Forum: Releases
- Replies (8)
|
|
Introduction
VisualTexture is a tool which I had created with the intention of helping people who did not have Internet connection in emerging situations, for example, people who use laptops and need to consult textures or animations, could use this tool, or also to consult colors which are used in the of SAMP hexadecimal format.
Currently the tool will have certain updates every so often, due to lack of time and help, in any case, I will try to finish some things which are a little incomplete so far.
Credits to: Me(Kaizer),?Fedenet, Alebhor,?JaTochNietDan, LorenC, Zume.
Download:
Required Libraries:
Source:
|
|
|
crashdetect on server end prints |
Posted by: hastlaking - 2019-05-04, 05:54 PM - Forum: Support
- Replies (1)
|
|
debug report from crashdetect! any idea what are these?
v4.19.4
PHP Code: [19:50:59] [debug] Server received interrupt signal
[19:50:59] [debug] Native backtrace:
[19:50:59] [debug] #0 77d507ec in ?? () in C:\WINDOWS\SYSTEM32\ntdll.dll
[19:50:59] [debug] #1 777cdbdf in ?? () in C:\WINDOWS\System32\KERNELBASE.dll
[19:50:59] [debug] #2 0048d55c in ?? () in samp-server.exe
[19:50:59] [debug] #3 0049b591 in ?? () in samp-server.exe
[19:50:59] [debug] #4 0049b5a1 in ?? () in samp-server.exe
|
|
|
YSI and const correctness warnings from the community compiler |
Posted by: Metro - 2019-05-04, 05:39 PM - Forum: Pawn Scripting
- Replies (6)
|
|
So I've installed the latest version of the pawn compiler and surely enough tons of const correctness warnings started popping up when compiling, most of them from ysi libraries
I took it upon myself to fix most of them, however there is one I don't know how to fix
Here's the compiler warning
Code: INFO: Compiling C:\Users\nonso\Desktop\WaveLS\gamemodes\crimewave.pwn with compiler version 3.10.9
C:\Users\nonso\Desktop\WaveLS\dependencies\YSI-Includes\YSI_Internal\y_funcinc.inc:112 (warning) literal array/string passed to a non-const parameter
And this is the code the error refers to
inside
Code: public _@_y_funcinc_@_()
{
? yadda yadda...
}
It seems that the code is calling the memset?function which has a non-const parameter, however because of how vast and complex ysi's libraries are for a novice like me I'm not really sure where to find it and how to fix it
Could anyone help with that? ty
|
|
|
Calling a function from another module using a dialog? |
Posted by: Metro - 2019-05-04, 05:15 PM - Forum: Pawn Scripting
- Replies (1)
|
|
While working on my gamemode I wanted to create a provisional control panel that would let the player do stuff that they would previously have to do through commands
However, since I've split my gamemode into modules and I don't want it to become a jumbled mess (if it isn't one already), I thought I should create a separate file for this control panel that I've called pControlPanel. The feature operates through a list dialog that presents the player with options, and it so happens that one of those options is supposed to call a function located inside another file called pvp_system.
Here's my file structure:
Code: - gamemodes
? ?- crimewave.pwn
? ?
? ?- crimewave
? ? ? ?- gui
? ? ? ? ? ?- pControlPanel.inc
? ? ? ?- player
? ? ? ? ? ?- pvp_system.inc
And inside crimewave.pwn the files are included as follows
Code: #include "crimewave/gui/pControlPanel.inc"
#include "crimewave/player/pvp_system.inc"
This is the dialog inside pControlPanel.inc made with easyDialog
Code: Dialog:pControlPanel(playerid, response, listitem, inputtext[])
{
if(response)
? ?{
? ? ? ?switch(listitem)
? ? ? ?{
? ? ? ? ? ?case 0: ShowWeaponDialog(playerid);
? ? ? ? ? ?case 1: return 1;
? ? ? ? ? ?case 2: SetPlayerHealth(playerid, 0.0);
? ? ? ?}
? ?}
? ?return 1;
}
And this is the function inside pvp_system.inc?
Code: ShowWeaponDialog(playerid)
{
? ?ShowPlayerDialog(yadda yadda...);
}
Now if I tried to compile that code I would get a "symbol is already defined"?on the line where i'm calling ShowWeaponDialog from the dialog function.?
To fix that I've tried using CallLocalFunction which lets the script compile but for some reason ShowWeaponDialog won't be called on runtime.?
As a last effort I tried making ShowWeaponDialog public and using CallRemoteFunction instead which makes the script work as intended, however I'm not sure that's the best solution because as far as I've been told ShowWeaponDialog should be called regardless of whether it's used in CallLocalFunction or CallRemoteFunction, in which case the code would be more complex than needs be
I'm very confused because afaik the #include directive practically joins files into one for the compiler so I'm really not sure why I'd have to use CallRemoteFunction for it to work
Anyone help? Ty
|
|
|
Bullworth Scholarship - Juego de Rol - |
Posted by: TheCzlks - 2019-05-03, 09:11 PM - Forum: Discusi?n GTA SA Multijugador
- Replies (14)
|
|
Muy buenos d?as, tardes o noches, ?como est?n? Nuevo d?a, nuevas ideas, no s? si la comunidad me habr? visto comentar en otros hilos (pues claro, ?quien me observar?a?) para los que no, coment? mucho sobre los proyectos repetitivos que hacen (No los critico) pero no s? si ser? con los?dem?s pero yo me siento cansado, soporto uno o dos pero, ?varios? No gracias, por eso este a?o estuve muy feliz por varios proyectos que se vienen, como Port Royal, como Wild West, etc. No me quedar? con los brazos cruzados, ya que de tanto predicar de innovaci?n, no me iba a quedar esperando un servidor que me guste y pues buscando gente apta como para liderar el proyecto y pensando siempre en un buen producto, pude formar el esqueleto de lo que viniese ser Bullworth Scholarship (Que en espa?ol significa Beca a Bullworth).
Este proyecto se ambienta en el universo de Bully, en el pueblo de Bullworth, el servidor usar? al pa?s de EE.UU. con todas las leyes que ahora dan de hablar, como la de la f?cil obtenci?n de las armas y los desgraciados tiroteos en las escuelas. Puedes interpretar desde un bully hasta un estudioso que quiere pasar el a?o, ?no quieres ser alumno? Tranquilo, puede ser profesor y hacer que tus alumnos saquen las mejores notas del colegio.
Tenemos a la polic?a local, ayudando con el orden de la ciudad y el de los alumnos dentro de esta, solo dale cuerda a tu imaginaci?n y disfruta con nosotros del internado Bullworth.
Contamos con las facciones oficiales del juego, los musculitos, empollones, pijos, etc. y podemos tambi?n recibir las facciones no oficiales de parte de los propios usuarios, siendo muy minuciosos al revisarlos.
Contamos con fanpage en Facebook y un Discord que poco a poco la gente se va uniendo, gracias por el apoyo que cada d?a vemos en los comentarios, pero no es una persona de la cual se encarga de todo, es un equipo, y tambi?n a la propia comunidad que se est? levantando de las cenizas.
FB:?Link
Discord:?https://discord.gg/fKnVaqq
|
|
|
|