Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,616
» Latest member: xInVinCiBlE
» Forum threads: 2,456
» Forum posts: 12,488

Full Statistics

Online Users
There are currently 244 online users.
» 1 Member(s) | 241 Guest(s)
Bing, Yandex, edgy

Latest Threads
Welcome to los santos !
Forum: Advertisements
Last Post: xInVinCiBlE
4 hours ago
» Replies: 0
» Views: 21
open.mp for MacOS
Forum: Releases
Last Post: Xyranaut
Yesterday, 10:17 PM
» Replies: 2
» Views: 99
ShadowVale Freeroam/Rolep...
Forum: Advertisements
Last Post: iiAmerii
Yesterday, 09:05 PM
» Replies: 0
» Views: 31
HOW TO CLOSE INCOMING CON...
Forum: Questions and Suggestions
Last Post: anil_erdogan0
Yesterday, 04:46 AM
» Replies: 0
» Views: 41
LS-RCR - Los Santos Rolep...
Forum: Advertisements
Last Post: Karthik
2026-05-18, 05:07 PM
» Replies: 0
» Views: 45
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-05-18, 04:46 PM
» Replies: 1
» Views: 358
Starting a Roleplay Serve...
Forum: Chat
Last Post: Jimmy96k
2026-05-17, 10:14 PM
» Replies: 0
» Views: 52
Starting a Roleplay Serve...
Forum: General Discussions
Last Post: Jimmy96k
2026-05-17, 09:56 PM
» Replies: 1
» Views: 69
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-17, 04:15 PM
» Replies: 1
» Views: 137
PROJECT: RENEWAL ROLEPLAY...
Forum: Advertisements
Last Post: zin
2026-05-16, 08:26 PM
» Replies: 1
» Views: 110

 
  fatal error 100: cannot read from file [FIX]
Posted by: YoungKrypt - 2024-02-23, 09:26 AM - Forum: Tutorials - No Replies

Hello OpenMP And Samp Players...
So I have begun learning Pawno for SAMP...

The other day I was working on my server and everything worked fine.
I installed Pawno with Samp Server R2 amd configured the Pawno Compiler with VSCode...

I renamed the folder I was working on and moved it to desktop.
Today I logged on and I attempted to Save/Compile Script and got the error:

\gamemodes\LCRPM2.pwn(7) : fatal error 100: cannot read from file: "zcmd"


Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

So I decided to look online and I found a lot of people with the same problem but no easy answer... I tried deleting zcmd and readding it... Etc...
Nothing worked... 



I turns out my problem was in the VS Code Extension.

When you use VS Code you need to download the Extension: PAWN Language for Visual Studio Code made by Qoo.
When I moved the Folder and Renamed it, everything was still in the same place but the Pawno Compiler was not connected to VS Code anymore.

In order to Fix this:

--Open VS Code
--Click on the Gear on the bottom left hand side of VS Code

--Click on Settings
--Click on Extensions

--It'll now show programming languages and extensions
--Click on Pawn
--On the right it'll have the Compiler Path (Picture shown below)
--Update the Compiler Path with the Correct Pawno Folder in your PC.
--Done, you can now compile with no errors.


[Image: Pawn-Help.png]


  TogglePlayerSpectating on&off will cause client not work after "F4"
Posted by: iLuXing - 2024-02-22, 06:52 AM - Forum: Support - Replies (1)

Type: Server and Client

Operating System: Windows

Server Version: omp v1.2.0.2670

Plugins Installed: No

YSI Included: No

Output (Logs): <paste a link to hastebin/pastebin with the logs included> (please remove any sensitive information)

I want player back to class select interface when player spwaned. so i make this code.
TogglePlayerSpectating on&off will cause client not work after "F4" or ForceClassSelection.
it will not back to class selection view and cant do anything only when /quit

[Image: 8odMIwFY3ihEmjr.png]

Make a try:

Code:
CMD:test(playerid){
    ForceClassSelection(playerid);
    TogglePlayerSpectating(playerid, true);
    TogglePlayerSpectating(playerid, false);
}


  ajuda
Posted by: fonseca.nelson658 - 2024-02-17, 02:29 PM - Forum: Portuguese/Português - Replies (1)

opa vim pedir ajuda como eu coloco meu sevidor lauche de voceis


  Error while compiler
Posted by: sakazuki - 2024-02-16, 10:39 AM - Forum: Pawn Scripting - Replies (3)

Hello everyone, 

I just updated plugins like YSI, sscanf, streamer, mysql, chrono. And when I changed it from YSI\y_timers to YSI_Coding\y_timers.
And when all the things I needed had been changed, when I did the compiler, I found an error, namely:

Code:
C:\Users\Administrator\Desktop\samp\pawno\include\a_zones.inc(416) : error 219: local variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\a_zones.inc(464) : error 219: local variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\sscanf2.inc(481) : error 219: local variable "size" shadows a variable at a previous level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_scriptinit_impl.inc(712) : error 219: local variable
  "y" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_version.inc(581) : error 219: local variable "size"
shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_debug_impl.inc(679) : error 219: local variable "siz
e" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_debug_impl.inc(866) : error 219: local variable "siz
e" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell32.inc(576) : error 219: local variable "x" shad
ows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell32.inc(606) : error 219: local variable "x" shad
ows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell_impl.inc(129) : error 219: local variable "x" s
hadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_cell_impl.inc(155) : error 219: local variable "x" s
hadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(590) : error 219: local variable "size"
  shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(633) : error 219: local variable "size"
  shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\y_amx_impl.inc(2803) : error 219: local variable "size
"shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(151) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(186) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(221) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_arrays.inc(356) : error 219: local
variable "size" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(401) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(426) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\YSI_Coding\y_timers\..\..\YSI_Core\y_core\../y_utils/y_utils_colour.inc(464) : error 219: local
variable "x" shadows a variable at a preceding level
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_memory.inc(131) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_memory.inc(139) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(530) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(619) : error 219: local variable "size" shadows a variable at a preceding lev
El
C:\Users\Administrator\Desktop\samp\pawno\include\amx\amx_header.inc(629) : error 219: local variable "size" shadows a variable at a preceding lev
El

Compilation aborted.


26 Errors.


Please help me to find this problem. Thank you


  Modding vehicle kicked me out of server.
Posted by: encikmiaw - 2024-02-14, 04:40 PM - Forum: Support - No Replies

fixed...


  Objects disappearing
Posted by: Worm - 2024-02-12, 06:20 PM - Forum: Support - No Replies

Hi,

I have been facing an issue with the objects for awhile. The objects randomly disappear in-game. I had to re-write the script multiple times and even updated the streamer and downgraded it. 

By disappearing, I mean that the object may get randomly destroyed on it's own. I even tried to track it by using a CMD to scan down all of the valid objects in the server and it shows that some objects are not valid anymore (Which means that they got deleted).

Is there anything that can be triggered by the streamer that can cause this? As I don't have anything in the script that can cause the object to be deleted on it's own.


  How to sell a vehicle samp scripting
Posted by: David Rmdn - 2024-02-12, 01:25 AM - Forum: Pawn Scripting - Replies (1)

I'm having a problem when I want the /sellveh /sellcar command, it doesn't work, I look for it in game mode, it's not there, do you want to help me with that?


  Tennis Court
Posted by: samplife69 - 2024-02-11, 07:53 PM - Forum: Videos and Screenshots - No Replies

deleted


  cannot enter more than one player
Posted by: ayalanicolas176 - 2024-02-10, 03:50 PM - Forum: Support - No Replies

hi, im having a problem with login in my server, we cannot enter more than 1 player, when the second one enters, he's kept in "Connected. Joining the game" and nothing further happens.

I did a debugging log and all the prints i put in OnPlayerConnect function are called correctly thorough but nothing player-related happens

Code:
Playerid %d (1) detected, step 1/2/3...


Then, when i disconnect using /q it shows like this

Code:
[part] Emmet_Jackson has left the server (1:2)

like i was kicked/banned, i do not know if it has something to do with all this problem but for me its weird cause the id 0 player disconnect reason shows normally.

my config.json:

Code:
{
    "announce": true,
    "artwork": {
        "cdn": "",
        "enable": true,
        "models_path": "models"
    },
    "long_call_time": 20000,
    "chat_input_filter": true,
    "enable_query": true,
    "game": {
        "allow_interior_weapons": true,
        "chat_radius": 200.0,
        "death_drop_amount": 0,
        "gravity": 0.008,
        "group_player_objects": false,
        "lag_compensation_mode": 1,
        "map": "San Andreas",
        "mode": "Roleplay",
        "nametag_draw_radius": 70.0,
        "player_marker_draw_radius": 250.0,
        "player_marker_mode": 1,
        "time": 12,
        "use_all_animations": false,
        "use_chat_radius": false,
        "use_entry_exit_markers": true,
        "use_instagib": false,
        "use_manual_engine_and_lights": false,
        "use_nametag_los": true,
        "use_nametags": true,
        "use_player_marker_draw_radius": false,
        "use_player_ped_anims": false,
        "use_stunt_bonuses": true,
        "use_vehicle_friendly_fire": false,
        "use_zone_names": false,
        "vehicle_respawn_time": 10000,
        "weather": 10
    },
"language": "Español - Spanish",
    "logging": {
        "enable": true,
        "log_chat": true,
        "log_cookies": false,
        "log_deaths": true,
        "log_queries": false,
        "log_sqlite": false,
        "log_sqlite_queries": false,
        "timestamp_format": "[%Y-%m-%dT%H:%M:%S%z]",
        "use_prefix": true,
        "use_timestamp": true
    },
    "max_bots": 0,
    "max_players": 50,
    "name": "open.mp server",
    "network": {
        "acks_limit": 3000,
        "aiming_sync_rate": 30,
        "allow_037_clients": true,
        "bind": "",
        "cookie_reseed_time": 300000,
        "in_vehicle_sync_rate": 30,
        "limits_ban_time": 60000,
        "message_hole_limit": 3000,
        "messages_limit": 500,
        "minimum_connection_time": 0,
        "mtu": 576,
        "multiplier": 10,
        "on_foot_sync_rate": 30,
        "player_marker_sync_rate": 2500,
        "player_timeout": 10000,
        "port": 7777,
        "public_addr": "",
        "stream_radius": 200.0,
        "stream_rate": 1000,
        "time_sync_rate": 30000,
        "use_lan_mode": false
    },
    "password": "",
    "pawn": {
        "legacy_plugins": [
            "crashdetect.so",
            "sscanf.so",
            "mysql.so",
            "streamer.so"
        ],
        "main_scripts": [
            "roleplay"
        ],
        "side_scripts": ["filterscripts/Mapeos"]
    },
    "rcon": {
        "allow_teleport": false,
        "enable": false,
        "password": "sarp2233"
    },
    "sleep": 5.0,
    "use_dyn_ticks": true,
    "website": ""
}


  [Help] My mysql plugin always fails to load
Posted by: jasonmockart21 - 2024-02-10, 10:16 AM - Forum: Pawn Scripting - Replies (1)

PICTURES : 


[img][Image: 02Eg1OL.png][/img]