Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 880 online users. » 0 Member(s) | 878 Guest(s) Bing, Google
|
Latest Threads |
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
11 hours ago
» Replies: 0
» Views: 36
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
Yesterday, 02:16 PM
» Replies: 1
» Views: 63
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 51
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 191
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 275
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 330
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 330
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 138
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 229
|
Not relevant anymore
Forum: Questions and Suggestions
Last Post: peti
2025-09-05, 02:00 PM
» Replies: 0
» Views: 187
|
|
|
sampctl linux compiling |
Posted by: 6cadilab9 - 2019-05-27, 02:41 PM - Forum: Support
- Replies (13)
|
 |
Hello,?
So I switched to ubuntu 16.04 bc of my job and now I decided to move whole project on to sampctl because of its included linux compiler, now i installed all packages, setted the whole project up, and when i run
sampctl package build
the amx of 0 bytes is generated but nothing happens, i get nothing in the terminal it looks like its running but I don't believe that it's supposed to take this long especially with the machine im running it on
|
|
|
EditClientMessage |
Posted by: Dev86 - 2019-05-27, 03:08 AM - Forum: Questions and Suggestions
- Replies (7)
|
 |
Code: EditClientMessage(messageid, color, string[]);
would be a nice edition so we won't need to spam countdowns/percentages in chat.
but should be similar to CreateObject texturing, like:
[/code]
new lol = SendClientMessage(playerid, -1, "hi");
EditClientMessage(lol, 0xFF0000FF, "hello");
|
|
|
Crashing when on desktop (Warning(opcode 0x812): Exception 0xC0000005 at 0x571A00) |
Posted by: whadez - 2019-05-26, 07:36 PM - Forum: Support
- Replies (16)
|
 |
My favourite crash types are those without a solution yet. I've read that it can be caused by invalid animations, but all of my animations are filtered, and they are being read from correct library. If anyone could help me with this I'd be very grateful. This crash occurs at crowded places after coming back from ALT䰀.
In chatlog:
Code: Warning(opcode 0x812): Exception 0xC0000005 at 0x571A00
Detailed crash log:
Code: SA-MP 0.3.7-R3
Exception At Address: 0x00571A00
Base: 0x040B0000
Registers:
EAX: 0xFFFFFFFF EBX: 0x00000000 ECX: 0x3B83126E EDX: 0xFFFFFFFF
ESI: 0x00C0B1D4 EDI: 0x00C0B1E0 EBP: 0xFFFFFFFF ESP: 0x0177F2CC
EFLAGS: 0x00010202
Stack:
퍍: 0x006083A7? ?0x00C0B1E0? ?0x14CABB28? ?0x14BC68A8
퍍: 0x018EE750? ?0x00465E04? ?0x14BC68A8? ?0x00000812
퍍: 0x14CABB28? ?0x14C92E90? ?0x10E1A860? ?0x00000812
퍍: 0x0085B378? ?0x00000000? ?0x00000000? ?0x00000003
퍎: 0x14C92E90? ?0x0177F300? ?0x0177F37C? ?0x00837D18
퍎: 0x00000000? ?0x015696FB? ?0x00001005? ?0x14C92E90
퍎: 0x00000812? ?0x00000000? ?0x10E1A860? ?0x00000812
퍎: 0x00000000? ?0x00177D04? ?0x041A0F00? ?0x40833333
퍏: 0x00001005? ?0x14C92E90? ?0x00444550? ?0x00000000
퍏: 0x00000000? ?0x00000000? ?0x414D4F57? ?0x61775F4E
퍀: 0x65736B6C? ?0x00007978? ?0x00000000? ?0x00000000
퍀: 0x0177F538? ?0x00838121? ?0xFFFFFFFF? ?0x00473839
퍀: 0x00000812? ?0x00000000? ?0x00000812? ?0x0177F598
퍀: 0x00000000? ?0x00000000? ?0x00000000? ?0x0177F3BC
퍁: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000000
퍁: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000000
퍝: 0x0177F3E4? ?0x00000044? ?0x00000037? ?0x0177F810
퍝: 0xFFFFFFFF? ?0x00000000? ?0x0177F574? ?0x041124AB
퍝: 0x10ED5BA9? ?0x40000000? ?0x00000003? ?0x0177F558
퍝: 0x00000004? ?0x00000080? ?0x00000000? ?0x00000004
퍞: 0x00000080? ?0x00000000? ?0x00000000? ?0x00000000
퍞: 0x00000000? ?0x00000000? ?0x00000000? ?0x00000004
퍞: 0x76FDB499? ?0x75464180? ?0x00000000? ?0x00000000
퍞: 0x0177F45C? ?0x00000000? ?0x008E2EC0? ?0x00000000
퍟: 0x00B5D4A0? ?0x0177F468? ?0x008229E3? ?0x00B5D4A0
퍟: 0x0177F504? ?0x0177F504? ?0x00000000? ?0x0177F5B4
퍐: 0x004D395E? ?0x00B5D4A0? ?0x0177F504? ?0x000004EE
퍐: 0x10E1A860? ?0x0000FFFF? ?0x0048C3CE? ?0x00000001
퍐: 0x00000000? ?0x000004EE? ?0x0177F5B4? ?0x00000000
퍐: 0x00000001? ?0x00000000? ?0x00000000? ?0x00000000
퍑: 0x00000000? ?0x00000001? ?0x0177F605? ?0x1F513750
퍑: 0x04162711? ?0x1F513430? ?0x0177F604? ?0x00000320
퍭: 0x00000001? ?0x15A81340? ?0x15A38148? ?0x0177FFFF
퍭: 0x040CFFFF? ?0x040CC906? ?0x0177F938? ?0x0000002F
퍭: 0x1F510808? ?0x000001A0? ?0x000001A0? ?0x00000198
퍭: 0x0177F938? ?0x15A38100? ?0x00444550? ?0x00000000
퍮: 0x00000000? ?0x00000000? ?0x00000001? ?0x00000809
퍮: 0x00000030? ?0x00000030? ?0x00000028? ?0x0177F964
퍮: 0x00000000? ?0x00000000? ?0x00000000? ?0x0177F588
퍮: 0x0083821C? ?0xFFFFFFFF? ?0x00469EF7? ?0x00000812
SCM Op: 0x812, lDbg: 1 LastRendObj: 19482
Game Version: US 1.0
State Information: Ped Context: 0
P0 (0,0) P1 (0,0) P2 (0,0) P3 (17,0)?
P4 (0,0) P5 (17,0) P6 (17,0) P7 (0,0)?
P8 (0,0) P9 (17,0) P10 (17,0) P12 (0,0) P13 (0,0) P14 (33,0) P15 (0,0)?
P16 (0,0) P17 (17,0) P18 (17,0) P19 (0,0)?
P20 (0,0) P21 (0,0) P22 (17,0) P23 (19,123)?
P24 (17,0) P25 (33,0) P26 (0,0) P27 (17,0)?
P28 (0,0) P29 (0,0) P30 (19,111) P31 (17,0)?
P32 (0,0) P33 (0,0) P34 (0,0) P35 (17,0)?
P36 (0,0) P37 (0,0) P38 (17,0) P39 (17,0)?
P40 (17,0) P41 (0,0) P42 (17,0) P43 (0,0)?
P44 (17,0) P45 (0,0) P46 (0,0) P47 (0,0)?
P48 (0,0) P49 (0,0) P50 (0,0) P51 (19,40)?
P52 (0,0) P53 (0,0) P54 (0,0) P55 (0,0)?
P56 (0,0) P57 (0,0) P58 (0,0) P59 (0,0)?
P60 (17,0) P61 (0,0) P62 (0,0) P63 (17,0)?
P64 (0,0) P65 (17,0) P66 (0,0) P67 (19,70)?
P68 (0,0) P69 (0,0) P70 (0,0) P71 (0,0)?
P72 (0,0) P73 (33,0) P74 (0,0) P75 (17,0)?
P76 (18,40) P77 (0,0) P78 (17,0) P79 (0,0)?
P80 (0,0) P81 (17,0) P82 (0,0) P83 (17,0)?
P84 (0,0) P85 (0,0) P86 (19,85) P87 (0,0)?
P88 (0,0) P89 (0,0) P90 (0,0) P91 (17,0)?
P92 (0,0) P93 (17,0) P94 (19,58) P95 (0,0)?
P96 (0,0) P97 (0,0) P98 (0,0) P101 (0,0) P102 (0,0) P103 (0,0)?
P104 (17,0) P106 (17,0) P108 (0,0) P112 (0,0) P118 (17,0) P122 (0,0) P123 (17,0)?
|
|
|
HELP! |
Posted by: mouiz - 2019-05-25, 08:14 PM - Forum: Pawn Scripting
- Replies (4)
|
 |
I am using ColAndreas for raycasting.
I have 2 points, for instance (0, 0, 0) and (100, 100, 20)
It will cast a really long ray but i want to cast a small ray from one?point?in the 'direction' of the other but a smaller ray (like 4.0 to?5.0 meters or whatever measurement unit is used in this game).
It can be done by finding the coords between these two points. Any math genius here ?
|
|
|
Visual Studio Code - Updated Pawn Tools for vscode |
Posted by: Graber - 2019-05-25, 12:46 PM - Forum: Releases
- Replies (1)
|
 |
vscode-pawn
Pawn tools for vscode.
Currently this is a port of the Sublime Text package which includes proper Pawn syntax highlighting, autocompletions for the standard library and some popular libraries.
If you like development tools that speed up your workflow and increase productivity, check out sampctl!
This post was originally from Southclaws, I managed to rescue it from the deleted SA-MP forums thread thanks to the post still being in Google's cache.
Installation
Just search for ?Pawn Tools? in the vscode extensions and install it.
Alternatively, you can check out the source code or view the marketplace page:
Installation
To actually compile after you?ve set up the tasks.json below, press CTRL䨘龷 (Windows) or CMD䨘龷 (Mac), or alternatively open up the command palette with CTRL䨘龷 (Windows) or CMD䨘龷 (Mac) and type Run Task, hit enter and select build-normal.
If you use sampctl it?s the same process except you?ll have four options in the Run Task list:
- build only - build the package
- build watcher - build the package on every file change
- run tests - run the package
- run tests watcher - run the package on every file change
It is recommended that you set a PawnPlus version explicitely on your pawn.json (preferibly the latest) to avoid always downloading the latest one.
If you don?t use sampctl, just download the pp-mysql.inc include and drop it to your includes/ folder, and then download the PawnPlus plugin and include from here.
With sampctl package init
If you?re using sampctl, the sampctl package init command will automatically generate a vscode tasks.json if you selected vscode in the editor part of the setup menu.[/font]
If you?ve already got a package but you didn?t do this, you can simply download the tasks.json from the Pawn Package template repo.
Once you?ve done that, there?s no more setup needed!
Creating tasks.json
Code uses a method called ?Tasks? to run compilers and build tools. All you need to do is create a folder named .vscode in your project?s directory and in there, create a file named tasks.json
[img=https://i.imgur.com/ywElfTy.gif][/img]
Then paste this into that file:
PHP Code: {
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/pawno/pawncc.exe",
"args": ["${file}", "-Dgamemodes", "-;", "-(", "-d3"],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "silent",
"panel": "dedicated"
},
"problemMatcher": "$pawncc"
}
]
}
Explanation
"command": "${workspaceRoot}/pawno/pawncc.exe", is the important bit here, this is the path to your Pawn compiler and I?ve assumed most of you have a left-over pawno folder from that long dead text editor! This folder not only contains Pawno but also the Pawn code compiler (pawncc.exe). You can safely delete pawno.exe forever.
"args": [...], is also important, this is where you define the arguments passed to the compiler. Pawno also did this but you might not have known. The defaults have always been -; to force semicolon usage and -( to force brackets in statements.
If you store your Pawn compiler elsewhere, just replace the entire command setting with the full path to your compiler.
Also, if you want to disable debug symbols (you won?t be able to use crashdetect) just remove -d3 from "args".
problemMatcher is the part that allows recognising the Pawn compiler output and presenting it in the problems panel of the editor. This doesn?t work well with external includes because the paths change from relative to absolute. sampctl fortunately fixes this (and a lot of other annoying things).
Features
Currently just syntax highlighting and completions from the Sublime project.
Once the Pawn-Parser project reaches a workable state, this extension will feature more language features such as intellisense support, go-to-definition, view-all-references, etc?
Here?s what the problems panel looks like when the tasks.json is set up properly:
|
|
|
Pawn en VSCode |
Posted by: Juance - 2019-05-24, 10:54 PM - Forum: Spanish/Espa?ol
- Replies (2)
|
 |
Buenas a todos, hace unos d?as quer?a dejar el t?pico editor pawn para cambiarme a Visual Studio Code que es el que utilizo en todos mis trabajos y quisiera integrar pawn a ?l. ?Alguien tiene una manera de hacerlo? instale un plugin que hace el autocompletado y dem?s, pero me falla el compilador.
Si alguien tiene alguna gu?a, le agradecer?a mucho.
|
|
|
|