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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,605
» Latest member: matskyl2007
» Forum threads: 2,334
» Forum posts: 12,262

Full Statistics

Online Users
There are currently 513 online users.
» 0 Member(s) | 511 Guest(s)
Google, Bing

Latest Threads
Original Godfather
Forum: Pawn Scripting
Last Post: NmE
9 hours ago
» Replies: 0
» Views: 15
Tierra Robada Roleplay [E...
Forum: Advertisements
Last Post: Vicee
Yesterday, 04:00 PM
» Replies: 0
» Views: 17
City of Grand RP
Forum: Advertisements
Last Post: KaidoSancho
Yesterday, 03:49 PM
» Replies: 0
» Views: 10
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
Yesterday, 09:02 AM
» Replies: 0
» Views: 38
Problem with MAP. Please ...
Forum: Pawn Scripting
Last Post: hoshimitsu
2025-10-12, 06:39 AM
» Replies: 0
» Views: 32
I get since compiler and ...
Forum: Pawn Scripting
Last Post: pauli
2025-10-11, 03:29 PM
» Replies: 0
» Views: 40
SA-MP: Map Construction
Forum: General Discussions
Last Post: king599
2025-10-11, 12:56 AM
» Replies: 1
» Views: 3,829
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: ingxavier05
2025-10-10, 06:53 PM
» Replies: 8
» Views: 13,383
PROJECT: LAS VENTURAS
Forum: Advertisements
Last Post: Avine96
2025-10-09, 11:16 PM
» Replies: 0
» Views: 60
[HELP] Back to Pawn Scrip...
Forum: Pawn Scripting
Last Post: king599
2025-10-09, 04:59 AM
» Replies: 1
» Views: 68

 
Question WINE 6.0.1 - Games doesn't load after recent update... (specially GTA VC and GTA SA)
Posted by: Zorono - 2021-08-05, 07:52 PM - Forum: Tech - No Replies

Good morning,

many Games like GTA SA and GTA VC doesn't load After recent Update... (I don't know why)



GTA SA:

Debug:

Code:
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x007480db).

Register dump:

CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b

EIP:007480db ESP:0177eda0 EBP:00000000 EFLAGS:00210246(  R- --  I  Z- -P- )

EAX:00000000 EBX:00000001 ECX:00000012 EDX:00000012

ESI:00000000 EDI:00000002

Stack dump:

0x0177eda0:  00000000 0177eeac 0177ee18 0003004e

0x0177edb0:  ffff8300 ffff8300 ffff83a0 ffff8318

0x0177edc0:  00300030 0003004e 00000006 6ed97ea3

0x0177edd0:  0003004e 00000000 0177ee00 0003004e

0x0177ede0:  00000006 001fff98 0177ee18 6eda97ac

0x0177edf0:  0003004e 0000001c 00000000 00000000

Backtrace:

=>0 0x007480db EntryPoint팗�() in gta_sa (0x00000000)

0x007480db EntryPoint팗� in gta_sa: movl    0x0(%eax),%ecx

Modules:

Module    Address            Debug info    Name (76 modules)

PE      220000-  250000    Deferred        eax

PE      3f0000-  3f9000    Deferred        ogg

PE      400000- 1577000    Export          gta_sa

PE     1780000- 1be4000    Deferred        ole32

PE     2370000- 2381000    Deferred        vorbishooked

PE     2390000- 2498000    Deferred        vorbis

PE     2ad0000- 2b02000    Deferred        blur.asi

PE     2f50000- 2f8f000    Deferred        crashes.asi

PE     31a0000- 31ed000    Deferred        samp-discord-plugin.asi

PE     31f0000- 31fc000    Deferred        api-ms-win-crt-time-l1-1-0

PE     3200000- 320d000    Deferred        api-ms-win-crt-heap-l1-1-0

PE     41d0000- 464b000    Deferred        comctl32

PE     4650000- 47ab000    Deferred        d3d9

PE     daa0000- ddc1000    Deferred        quartz

PE    10000000-10011000    Deferred        vorbisfile

PE    61740000-61830000    Deferred        advapi32

PE    61940000-61b33000    Deferred        wininet

PE    61f00000-61f0e000    Deferred        api-ms-win-crt-convert-l1-1-0

PE    61f80000-61f90000    Deferred        api-ms-win-crt-math-l1-1-0

PE    62300000-625d7000    Deferred        msvcp140

PE    62b80000-62b8d000    Deferred        api-ms-win-core-localization-l1-2-1

PE    62fc0000-631d3000    Deferred        rpcrt4

PE    63480000-6349b000    Deferred        version

PE    63740000-6374e000    Deferred        api-ms-win-crt-runtime-l1-1-0

PE    637c0000-63a49000    Deferred        urlmon

PE    63bc0000-63c04000    Deferred        shcore

PE    64a40000-64b29000    Deferred        shlwapi

PE    64ec0000-652b7000    Deferred        oleaut32

PE    65bc0000-65bdb000    Deferred        midimap

PE    66240000-66288000    Deferred        bcrypt

PE    67340000-675f0000    Deferred        msvcr120

PE    67d40000-67db9000    Deferred        mmdevapi

PE    682c0000-683e7000    Deferred        dsound

PE    68500000-68640000    Deferred        combase

PE    686c0000-686d6000    Deferred        concrt140

PE    68700000-68788000    Deferred        uxtheme

PE    697c0000-69a06000    Deferred        ddraw

PE    6a040000-6a0a2000    Deferred        msacm32

PE    6a400000-6a566000    Deferred        winmm

PE    6ac80000-6ac8c000    Deferred        api-ms-win-core-fibers-l1-1-1

PE    6b7c0000-6b7ce000    Deferred        api-ms-win-crt-stdio-l1-1-0

PE    6bb00000-6bb67000    Deferred        msvfw32

PE    6bc00000-6bc98000    Deferred        sechost

PE    6bcc0000-6be60000    Deferred        setupapi

PE    6c0c0000-6c106000    Deferred        msdmo

PE    6c9c0000-6cf5b000    Deferred        gdi32

PE    6dd00000-6dd1c000    Deferred        schannel

PE    6de80000-6de8d000    Deferred        api-ms-win-core-synch-l1-2-0

PE    6e8c0000-6eb77000    Deferred        crypt32

PE    6ec00000-6ec7f000    Deferred        devenum

PE    6ed00000-6f388000    Deferred        user32

PE    6fe40000-6fed8000    Deferred        rsaenh

PE    6ff00000-6ff0e000    Deferred        api-ms-win-crt-string-l1-1-0

PE    70040000-70065000    Deferred        msacm32

PE    70240000-70256000    Deferred        vcruntime140

PE    70940000-70994000    Deferred        mpr

PE    70b40000-70df3000    Deferred        ucrtbase

PE    71200000-71251000    Deferred        imm32

PE    738f0000-738f4000    Deferred        winegstreamer

PE    73940000-73943000    Deferred        winealsa

PE    739c0000-739cb000    Deferred        dinput8

PE    7a840000-7a844000    Deferred        opengl32

PE    7a950000-7a953000    Deferred        avicap32

PE    7b000000-7b347000    Deferred        kernelbase

PE    7b600000-7b929000    Deferred        kernel32

PE    7b980000-7b983000    Deferred        winepulse

PE    7bc00000-7bea8000    Deferred        ntdll

PE    7cad0000-7cad4000    Deferred        wined3d

PE    7d020000-7d023000    Deferred        kerberos

PE    7d4a0000-7d4a4000    Deferred        dnsapi

PE    7d4c0000-7d4c4000    Deferred        iphlpapi

PE    7d4f0000-7d4f3000    Deferred        netapi32

PE    7d530000-7d533000    Deferred        secur32

PE    7d770000-7d774000    Deferred        winex11

PE    7dbd0000-7e4a7000    Deferred        shell32

PE    7eb10000-7eb14000    Deferred        ws2_32

Threads:

process  tid      prio (all id:s are in hex)

00000020 (D) D:\Games\GTA San Andreas\gta_sa.exe

    00000024    0 <==

    000000f8    0

    00000100   -2

    00000108    0

    0000010c    0

    00000134    0

    00000138   15

    00000144    0

    00000148    0

    00000154    0

    00000158    0

    0000015c    0

    00000164    0

    00000168    0

    00000174    0

00000038 services.exe

    0000003c    0

    00000040    0

    00000054    0

    0000007c    0

    00000098    0

    000000c0    0

    000000d4    0

00000044 winedevice.exe

    00000048    0

    0000005c    0

    00000060    0

    00000064    0

00000068 plugplay.exe

    0000006c    0

    00000084    0

    00000088    0

    0000008c    0

    000000a8    0

00000090 winedevice.exe

    00000094    0

    0000009c    0

    000000a0    0

    000000a4    0

    000000b0    0

    000000b4    0

000000b8 svchost.exe

    000000bc    0

    000000c4    0

    000000c8    0

000000cc rpcss.exe

    000000d0    0

    000000d8    0

    000000dc    0

    000000e0    0

    000000e4    0

    00000120    0

000000f0 conhost.exe

    000000f4    0

00000110 explorer.exe

    00000114    0

    00000118    0

    0000011c    0

System information:

    Wine build: wine-6.0.1

    Platform: i386 (WOW64)

    Version: Windows 10

    Host system: Linux

    Host version: 5.11.0-25-generic



Console log:
Code:
0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0050:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0064:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00f4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0104:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 1000

0104:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 1000

0114:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0114:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0104:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0351F87C 1 C) semi-stub

0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.

0024:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)

0148:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.

0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.

0024:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.

0160:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

0160:err:gstreamer:watch_bus decodebin0: Your GStreamer installation is missing a plug-in.

0160:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.

0160:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

0160:err:gstreamer:watch_bus decodebin1: Your GStreamer installation is missing a plug-in.

0160:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin1/GstDecodeBin:decodebin1:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.

0160:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

0160:err:gstreamer:watch_bus decodebin2: Your GStreamer installation is missing a plug-in.

0160:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin2/GstDecodeBin:decodebin2:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.

0160:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

0160:err:gstreamer:watch_bus decodebin3: Your GStreamer installation is missing a plug-in.

0160:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin3/GstDecodeBin:decodebin3:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.

wine: Unhandled page fault on read access to 00000000 at address 007480DB (thread 0024), starting debugger...

0170:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0170:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0170:err:dbghelp_msc:codeview_process_info Unknown CODEVIEW signature 088d8601 in module L"gta_sa"



GTA VC:

Console log:
Code:
003c:err:service:process_send_command service protocol error - failed to write pipe!

003c:fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

005c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0034:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00a4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00e4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00ec:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

00ec:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.

0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x20.

0024:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)

0024:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.

012c:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

012c:err:gstreamer:watch_bus decodebin0: Your GStreamer installation is missing a plug-in.

012c:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin0/GstDecodeBin:decodebin0:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.

012c:err:gstreamer:unknown_type Could not find a filter for caps: "video/mpeg, systemstream=(boolean)true, mpegversion=(int)1"

0024:err:gstreamer:gstdecoder_init_gst Failed to play stream.

012c:err:gstreamer:watch_bus decodebin1: Your GStreamer installation is missing a plug-in.

012c:err:gstreamer:watch_bus ../gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstBin:bin1/GstDecodeBin:decodebin1:

no suitable plugins found:

Missing decoder: MPEG-1 System Stream (video/mpeg, systemstream=(boolean)true, mpegversion=(int)1)



0024:fixme:gstreamer:mpeg_splitter_sink_query_accept Unsupported subtype {e436eb84-524f-11ce-9f53-0020af0ba770}.



Operating system: Ubuntu 21.04 x64

RAM: 6 GB

CPU: Intel? Core? i5-3230M CPU @ 2.60GHz ? 4

GPU: Intel? HD Graphics 4000 (IVB GT2)

Wine: 6.0.1



Please some help


  Spec Pos
Posted by: GodX_ - 2021-08-04, 04:46 PM - Forum: Pawn Scripting - Replies (1)

//delete


  Animation problems
Posted by: DjSon231 - 2021-08-03, 08:08 PM - Forum: Pawn Scripting - Replies (6)

Hi!



I have some trouble with setting animations to actors. I'm using 0.3.7-R2 server, with Y_ISI streamer plugin.

How can I set animations like that:?[Video: https://www.youtube.com/watch?v=WrBxmP28FIg]

Everytime I preload and load animation, like in the video, my actor is not moving. Is just playing animation tho.?There's no difference between "CreateActor" and "CreateDynamicActor". What am I supposed to do?


  [HELP] Weapon Skill Command
Posted by: spyrothedragon96 - 2021-08-03, 08:33 AM - Forum: Pawn Scripting - Replies (2)

Hello everyone.

I made 3 commands to set the skill level of the weapons, /poor, /gangster and /hitman.

The problem is that when me and the other players die / disconnect, the level goes back to the initial level, that is to the maximum, and the command I had set is not saved.

How can I do to get it saved when one dies / disconnects?



Quote:COMMAND:poor(playerid, params[])

{

? ? if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "Devi loggare come RCON.");

? ? {

for(new i=0; i<MAX_PLAYERS; i)

{

if(IsPlayerNPC(i) || IsPlayerConnected(i))

{

SetPlayerSkillLevel(i, WEAPONSKILL_PISTOL, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_PISTOL_SILENCED, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_DESERT_EAGLE, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_SHOTGUN, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_SAWNOFF_SHOTGUN, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_SPAS12_SHOTGUN, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_MICRO_UZI, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_MP5, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_AK47, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_M4, 1);

SetPlayerSkillLevel(i, WEAPONSKILL_SNIPERRIFLE, 1);

? ? ? ? }

? ? }

? ? }

return 1;

}



COMMAND:gangster(playerid, params[])

{

? ? if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "Devi loggare come RCON.");

? ? {

for(new i=0; i<MAX_PLAYERS; i)

{

if(IsPlayerNPC(i) || IsPlayerConnected(i))

{

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 40);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 500);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 50);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 250);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 200);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 300);

? ? ? ? }

? ? }

? ? }

? ? return 1;

}



COMMAND:hitman(playerid, params[])

{

? ? if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF0000AA, "Devi loggare come RCON.");

? ? {

for(new i=0; i<MAX_PLAYERS; i)

{

if(IsPlayerNPC(i) || IsPlayerConnected(i))

{

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SHOTGUN, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SPAS12_SHOTGUN, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 999);

? ? SetPlayerSkillLevel(playerid, WEAPONSKILL_SNIPERRIFLE, 999);

? ? ? ? }

? ? }

? ? }

? ? return 1;

}


  [HELP] PawnPlus Warning.
Posted by: xBigDK - 2021-08-02, 09:50 PM - Forum: Pawn Scripting - No Replies

Hi Guys, sorry for bad english.



I'm doing a samp server, and I put the PawnPlus include on my server, my host is linux, I uploaded PawnPlus.so, but this warning appears, I have no idea what it is. Also after a few minutes the server simply doesn't load the files, it's still online, but as if it were a "Blank Script"





Code:
----------

Loaded log file: "server_log.txt".

----------

SA-MP Dedicated Server

----------------------

v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:25:36] password = ""? (string)

[18:25:36] filterscripts = ""? (string)

[18:25:36]

[18:25:36] Server Plugins

[18:25:36] --------------

[18:25:36]? Loading plugin: sscanf.so

[18:25:36]

[18:25:36]? ===============================

[18:25:36]? ? ? sscanf plugin loaded.? ?

[18:25:36]? ? ? ? ? Version:? 2.8.3? ? ? ?

[18:25:36]? (c) 2018 Alex "Y_Less" Cole?

[18:25:36]? ===============================

[18:25:36]? Loaded.

[18:25:36]? Loading plugin: streamer.so

[18:25:36]

*** Streamer Plugin v2.9.4 by Incognito loaded ***

[18:25:36]? Loaded.

[18:25:36]? Loading plugin: pawncmd.so

[18:25:36] [Pawn.CMD] plugin v3.3.3 by urShadow loaded

[18:25:36]? Loaded.

[18:25:36]? Loading plugin: PawnPlus.so

[18:25:36]? PawnPlus v1.3.2 loaded

[18:25:36]? Created by IllidanS4

[18:25:36]? Loaded.

[18:25:36]? Loaded 4 plugins.

[18:25:36]

[18:25:36] Filterscripts

[18:25:36] ---------------

[18:25:36]? Loaded 0 filterscripts.

[18:25:36] Objetos: 13 carregado(s) de Objetos/CaixaEletronico.txt

[18:25:36]

====================================

[18:25:36] |? ? ? GAMEMODE BY: BigDK |

[18:25:36] |? ? ? Heist RolePlay ? |

[18:25:36] ====================================

[18:25:36] Number of vehicle models: 1

[18:26:19] [connection] 189.10.145.144:22403 requests connection cookie.

[18:26:20] [connection] incoming connection: 189.10.145.144:22403 id: 0

[18:26:20] [join] Big_dk has joined the server (0:189.10.145.144)

[18:34:27] [PawnPlus] Warning: amx_FindPublic returned negative index -10060 for function 'pp_on_error'. Possible collision with SAMPGDK detected. Use pp_public_min_index or pp_use_funcidx to remove this warning.

[18:34:27] [PawnPlus] pool_has: argument 'index' is out of range

[18:34:27] [part] Big_dk has left the server (0:1)



i have the includes:





a_samp

td-streamer

streamer

sscanf2

dof2

Pawn.CMD

foreach

a_zones

cpstream


  I think open.mp forums should have a better domain
Posted by: NoxxeR - 2021-08-01, 12:37 PM - Forum: Questions and Suggestions - Replies (8)

I think open.mp should change the forum domain to?https://forums.open.mp/ or something like that, its sounds more related than burgershot.gg, maybe in the future?



And the design on the forums needs to be improved a bit, so people register on the forums. Advertising the forums would be much easier if the domain is https://forums.open.mp/ but thats just my point. :P


  Help - SetObjectMaterial with Custom Object (0.3.DL)?
Posted by: Jurgen33 - 2021-08-01, 12:10 PM - Forum: Pawn Scripting - Replies (1)

Hello,



How can use SetObjectMaterial with Custom Object for SA-MP?0.3.DL Version.



Example:

SetDynamicObjectMaterial(tmpobjid,?0, -1001, "custom_object_txd_file_name",?"texture_name_in_txd_file",?0x00000000);



Please help. I couldn't find what to write instead of txd file name. That's why not work!


  clear/empty an array
Posted by: redex - 2021-07-31, 01:21 PM - Forum: Pawn Scripting - Replies (6)

hi!

i wanted to know is there anyway to clear an array with only a few lines? i have player info in this array:

Code:
enum e_playerinfo

{

? ? someInt,

? ? Float:someFloat,

??? someString[144],

}

new playerInfo[MAX_PLAYERS][e_playerinfo];





and i wanted to know how can i clear it in on player disconnect after saving the values in sql, i used to do like this:

Code:
public OnPlayerDisconnect(...)

{



? ? playerInfo[playerid][...] = 0;

? ? playerInfo[playerid][...] = 0.0;

? ? playerInfo[playerid][...] = "";

? ? ...



}

and i had to do this for every variable i add, is there anyway to make this more simple?


  Timer
Posted by: njoBe_ - 2021-07-30, 08:49 PM - Forum: Pawn Scripting - Replies (6)

Im trying to make /mute command, but i dont know how to set timer which is equal to time which i set in command and when this timer ends it sets to player stats Muted = 0



Code:
CMD:mute(playerid, params[])

{

if (!IsPlayerAdmin(playerid) || PlayerInfo [playerid] [pAdmin] < 1) return SendClientMessage(playerid, COLOR_SERVER, "[BC:RP] {FFFFFF}Niste admin.");

if (IsPlayerAdmin(playerid) || PlayerInfo [playerid] [pAdmin] > 0)

{

new id, reason[128], str[128], string[256], pName[MAX_PLAYER_NAME], pMutedName[MAX_PLAYER_NAME], time;

if(sscanf(params, "uis", id, time, reason)) return SendClientMessage(playerid, COLOR_SERVER, "[Usage]: {FFFFFF}/mute [ID/Ime] [Vrijeme] [Razlog]") ;

else if (time < 0 || time > 1000) return SendClientMessage(playerid, COLOR_SERVER, "[Usage]: Vrijeme ne moze biti manje od 0 (skidanje mute-a) i vece od 1000. ");

else if (time == 0) return SendClientMessage(playerid, -1, "Admin vam je skinuo mute.");

GetPlayerName(playerid, pName, sizeof(pName));

GetPlayerName(id, pMutedName, sizeof(pMutedName));

format(str, sizeof(str), "{FF0000}Utisani ste od strane admina {FFFFFF}%s {FF0000} na {FFFFFF}%d {FF0000}minuta. Razlog: {FFFFFF}%s.", pName, time, reason);

SendClientMessage(id, -1, str);

format(string, sizeof(string), "{FF0000}[Mute]: Admin {FFFFFF}%s {FF0000}je utisao igraca {FFFFFF}%s {FF0000}na {FFFFFF}%d {FF0000}minuta. Razlog: {FFFFFF}%s", pName, pMutedName, time, reason);

foreach(Player, i)

if(PlayerInfo [i] [pStaff] == 1)

{

SendClientMessage(i, -1, string);

}

PlayerInfo [id] [pMuted] = time;

PlayerInfo [id] [pMutedReason] = reason;

SetTimerEx("mutetime", time*1000, false, "d", id);





}

return 1;

}


  I cannot find the erorr here!
Posted by: Scylla - 2021-07-30, 09:13 AM - Forum: Pawn Scripting - Replies (3)

I have been getting this error and I don't know where this is happening. This error was really long time ago so I stopped coding. Now I want to continue it, and still I'm getting this error and it sucks.
Error:

Code:
\CF.pwn(125) : error 010: invalid function or declaration
\CF.pwn(483) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(487) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1105) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1110) : error 017: undefined symbol "DIALOG_REGISTER"
\CF.pwn(1126) : error 017: undefined symbol "DIALOG_LOGIN"
\CF.pwn(1138) : error 017: undefined symbol "DIALOG_LOGIN"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.

Line 125 - 129:
Code:
enum
{
? ? ? ?DIALOG_REGISTER = 0,
? ? ? ?DIALOG_LOGIN,
};

Line 483:
Code:
ShowPlayerDialogEx(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "{FFFF00}Login to proceed", "{FFFFFF}This account is registered... Please login to continue with your account.", "Enter", "Close");

My includes:
Code:
#include     "a_samp"
#include     "YSI\y_ini"
#include     "YSI\y_timers"
#include    "sscanf2"
#include   "progress"
#include   "zcmd"
#include  "mSelection"
#include  "weapon-config"
#include  "streamer"
#include  "foreach"

Please help!