Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 366 online users. » 0 Member(s) | 364 Guest(s) Bing, Google
|
|
|
Help Message all no working |
Posted by: nbx2000 - 2023-11-14, 05:22 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hello, can you help me with the message system in non-random order, it doesn't work well, it doesn't respect the time between texts.
ptask AnunciosChat[50000]()
{
ServerInfo[AnuncioTexto] ++;
if(ServerInfo[AnuncioTexto] == 27) ServerInfo[AnuncioTexto] = 1;
switch(ServerInfo[AnuncioTexto])
{
case 1: SendClientMessageToAllEx(COLOR_ROJO, "[-]Derby "COL_BLANCO"test1");
case 2: SendClientMessageToAllEx(COLOR_NARANJA, "[DLF]Botz "COL_BLANCO""test2");
case 3: SendClientMessageToAllEx(COLOR_NARANJA, "[DLF]Botz "COL_BLANCO"test3");
case 4:
{
SendClientMessageToAllEx(-1, ""COL_AMARILLO"[-]CARRERA: "COL_BLANCO"Se ha inciado (Modo Carrera)"(/carreras)");
lrace = 1;
}
case 5:
{
SendClientMessageToAllEx(-1, ""COL_ROJO"[-]CARRERA: "COL_BLANCO"Se ha Cerrado");
lrace = 0;
}
case 6: SendClientMessageToAllEx(COLOR_NARANJA, "[DLF]Botz "COL_BLANCO"test4");
case 7: SendClientMessageToAllEx(COLOR_NARANJA, "[DLF]Botz "COL_BLANCO"test5.");
}
return 1;
}
|
|
|
The Streetz of Los Santos RPG, Since 2007 |
Posted by: Dizzle - 2023-11-13, 08:59 PM - Forum: Advertisements
- No Replies
|
 |
Note: Server is in the process of re-launching, release date is 2 weeks from today (13 Nov 2023)
Recruiting beta testers, mappers and graphic designers, DM me on Discord "realzeed" if you are interested!
The first and only San Andreas: Multi-Player roleplay server based on the story line and concept of the original game. Delivering fun, doubtlessly.
With our lively community, 16 years of success and gangster roleplay that you've seen nowhere else, you would surely be amazed and love having that 90's feel
Server IP: play.lsbclan.net:7777
Est. 2007
|
|
|
A bunch of warnings and errors |
Posted by: Jak - 2023-11-13, 05:43 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi. I just discovered open.mp and decided to give it a try with my old SA-MP gamemode. I managed to run the server just fine, but compiling the script causes some warnings and errors that just lead me nowhere.
What I have done:
Replaced #include <a_samp> with #include <open.mp>
Replaced #include <YSI\y_ini> with #include <YSI_Storage\y_ini>
downloaded the latest YSI library and pasted its content under include directory
Rest of the code is pretty much untouched
I am getting a these warnings and errors:
PHP Code: warning 214: possibly a "const" array argument was intended: "user" warning 239: literal array/string passed to a non-const parameter (a LOT of these) warning 234: function is deprecated (symbol "GetServerVarAsInt") Use `GetConsoleVarAsInt`. warning 213: tag mismatch: expected tag "bool", but found none ("_") warning 213: tag mismatch: expected tag "t_WEAPON", but found none ("_") warning 234: function is deprecated (symbol "TextDrawBackgroundColor") Use `TextDrawBackgroundColour`
I was under the impression that old SA-MP scripts were supported as-is. Could anyone point me in the right direction?
Thanks.
|
|
|
Fixes.inc Run Time Error 19: |
Posted by: DomOfficial - 2023-11-03, 06:52 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi everyone, since inserting fixes.inc I have the problem that I get the error "Run time error 19: "File or function is not found"" when starting the server. All plugins are the most up-to-date and run without errors or warnings in the mod.
|
|
|
compilador |
Posted by: mist91631 - 2023-10-28, 03:10 AM - Forum: Support
- Replies (1)
|
 |
quando eu compilo da esse erro ao compilar
[WinError 87] Parâmetro incorreto
[cmd: ['pawncc.exe', '-i inclui', 'C:\\Meus Jogos\\Exclusivo Roleplay\\gamemodes\\GM.pwn', '-;+']]
[dir: C:\Meus Jogos\Exclusivo Roleplay\gamemodes]
[caminho: C:\Arquivos de Programas\Arquivos Comuns\Oracle\Java\javapath;C:\Arquivos de Programas (x86)\Arquivos Comuns\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C: \WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;c:\arquivos de programas\d3dgear;c:\arquivos de programas\d3dgear;C:\ Usuários\primo\AppData\Local\Microsoft\WindowsApps]
[Finalizado]
|
|
|
Weird conflict with Pawn.CMD Open MG |
Posted by: Sr.Layer4 - 2023-10-24, 11:24 PM - Forum: Questions and Suggestions
- Replies (3)
|
 |
I've downloaded the Pawn.CMD for OpenMG compatibility version, but no matter which version I try (including the latest one and the second, 3.3.6), I keep encountering this annoying error whenever I attempt to run the server.
https://github.com/katursis/Pawn.CMD/releases
Does someone has this error before?
Code: [2023-10-24T20:17:00-0300] [Info] [Pawn.CMD] plugin v3.3.6 loading...
[2023-10-24T20:17:00-0300] [Info] [Pawn.CMD]
| Pawn.CMD 3.3.6 | open.mp | 2016 - 2023
|-----------------------------------------
| Author and maintainer: katursis
| Compiled: Jan 10 2023 at 21:30:37
|----------------------------------------------------------
| Repository: https://github.com/katursis/Pawn.CMD/tree/omp
[2023-10-24T20:17:00-0300] [Error] Skipping legacy plugin 'pawncmd'; There is an open.mp compatible version you can find here: https://github.com/katursis/Pawn.CMD/releases , make sure to download x.x.x-omp version.
|
|
|
|