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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,785
» Latest member: julius.pitkaaho10
» Forum threads: 2,359
» Forum posts: 12,229

Full Statistics

Online Users
There are currently 491 online users.
» 1 Member(s) | 488 Guest(s)
Google, Bing, Centnodes

Latest Threads
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
7 minutes ago
» Replies: 9
» Views: 290
Discord problem.
Forum: Support
Last Post: Polecalex
6 hours ago
» Replies: 1
» Views: 23
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
10 hours ago
» Replies: 5
» Views: 442
LiveDialogs.inc
Forum: Libraries
Last Post: vawylon
2025-12-19, 05:53 AM
» Replies: 0
» Views: 52
Awakeninga an old server.
Forum: Support
Last Post: Polecalex
2025-12-17, 11:33 PM
» Replies: 1
» Views: 196
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: Polecalex
2025-12-17, 12:57 AM
» Replies: 0
» Views: 71
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: hiago.sucesso.hs
2025-12-16, 03:40 PM
» Replies: 1
» Views: 196
Is there a WebSocket plug...
Forum: General Discussions
Last Post: hiago.sucesso.hs
2025-12-16, 03:37 PM
» Replies: 0
» Views: 37
What would you start?
Forum: Life
Last Post: HELLHOUND
2025-12-14, 10:32 PM
» Replies: 5
» Views: 10,356
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-13, 07:16 PM
» Replies: 4
» Views: 805

 
  Vehicles isn't spawning
Posted by: MrVegas - 2019-05-05, 07:21 PM - Forum: Pawn Scripting - Replies (2)

Well factions/jobs etc...Vehicles isn't spawning also, CMD that create vehicles isn't spawning them.



PHP Code:
stock LoadStaticVehicles()

{



? ? 
// DMV Vehicles

Plane[0] = AddStaticVehicle(592,1922.0416,-2258.0427,14.7435,182.1580,1,1);

Plane[1] = AddStaticVehicle(592,1871.4792,-2285.5344,14.7054,269.9822,1,1);

? ? 
DMVCar[0] = CreateVehicle(445,961.0397,-1424.1102,13.4219,40.3043,50,92,300); //

? ? DMVCar[1] = CreateVehicle(445,961.9089,-1420.3315,13.4219,39.0286,50,92,300); //

? ? DMVCar[2] = CreateVehicle(445,962.1738,-1416.4852,13.3276,38.6078,50,92,300); //

/*CreateVehicle(404,2052.8206,-1903.9745,13.3249,359.6511-180,182,1,300); // Car1

CreateVehicle(404,2056.1641,-1903.9946,13.3470,359.6512-180,182,1,300); // Car2

CreateVehicle(404,2059.3220,-1904.0138,13.3470,359.6512-180,182,1,300); // Car3

CreateVehicle(404,2062.5098,-1904.0331,13.3470,359.6512-180,182,1,300); // Car4

CreateVehicle(404,2065.6597,-1904.0526,13.3470,359.6512-180,182,1,300); // Car5*/

// Police Vehicles

FacInfo[1][fCars][0] = CreateVehicle(596,1601.9502,-1683.9442,5.5580,90.0662,0,1,0); // Crusier1

FacInfo[1][fCars][1] = CreateVehicle(596,1601.9349,-1688.1353,5.5585,89.8182,0,1,0); // Crusier2

FacInfo[1][fCars][2] = CreateVehicle(596,1602.0319,-1691.9169,5.5580,90.1704,0,1,0); // Crusier3

FacInfo[1][fCars][3] = CreateVehicle(596,1602.1292,-1695.9916,5.5580,88.9515,0,1,0); // Crusier4

FacInfo[1][fCars][4] = CreateVehicle(596,1602.1547,-1700.2701,5.5580,89.4748,0,1,0); // Crusier5

FacInfo[1][fCars][5] = CreateVehicle(596,1602.0511,-1704.3525,5.5580,88.4754,0,1,0); // Crusier6

FacInfo[1][fCars][6] = CreateVehicle(599,1585.2120,-1667.6892,6.1291,270.2057,0,1,0); // Ranger1

FacInfo[1][fCars][7] = CreateVehicle(599,1585.1547,-1671.9965,6.1323,271.1247,0,1,0); // Ranger2

FacInfo[1][fCars][8] = CreateVehicle(523,1530.0715,-1688.0465,5.4559,267.5331,1,0,0); // Bike1

FacInfo[1][fCars][9] = CreateVehicle(523,1526.7520,-1688.0627,5.4582,268.2188,1,0,0); // Bike2

FacInfo[1][fCars][10] = CreateVehicle(523,1529.9504,-1683.8184,5.4578,271.5452,1,0,0); // Bike3

FacInfo[1][fCars][11] = CreateVehicle(523,1526.6595,-1683.8164,5.4625,271.1716,1,0,0); // Bike4

FacInfo[1][fCars][12] = CreateVehicle(411,1545.3519,-1680.2714,5.6263,88.9375,0,1,0); // Speed1Infernus

FacInfo[1][fCars][13] = CreateVehicle(411,1545.3575,-1676.2065,5.6263,90.4601,0,1,0); // Speed2Infernus

FacInfo[1][fCars][14] = CreateVehicle(541,1545.1260,-1672.0992,5.5249,90.8087,0,1,0); // Speed3Bullet

FacInfo[1][fCars][15] = CreateVehicle(541,1545.1002,-1667.9021,5.5249,90.8901,0,1,0); // Speed4Bullet

FacInfo[1][fCars][16] = CreateVehicle(601,1545.0055,-1662.9552,5.6769,88.8576,0,0,0); // Splashy1

FacInfo[1][fCars][17] = CreateVehicle(601,1544.9072,-1658.9329,5.6780,88.7145,0,0,0); // Splashy2

FacInfo[1][fCars][18] = CreateVehicle(601,1545.0282,-1655.0873,5.6767,89.4033,0,0,0); // Splashy3

FacInfo[1][fCars][19] = CreateVehicle(601,1545.0804,-1651.2063,5.6920,90.5362,0,0,0); // Splashy4

FacInfo[1][fCars][20] = CreateVehicle(427,1538.9954,-1644.9917,6.0463,180.4178,0,1,0); // Enforcer1

FacInfo[1][fCars][21] = CreateVehicle(427,1534.8733,-1644.9760,6.0481,179.3436,0,1,0); // Enforcer2

FacInfo[1][fCars][22] = CreateVehicle(427,1531.0992,-1645.0317,6.0463,179.9259,0,1,0); // Enforcer3

FacInfo[1][fCars][23] = CreateVehicle(427,1526.8904,-1645.1100,6.0463,180.7001,0,1,0); // Enforcer4

FacInfo[1][fCars][24] = CreateVehicle(497,1550.4070,-1707.7499,28.6315,90.2970,0,1,0); // MAV 1

FacInfo[1][fCars][25] = CreateVehicle(497,1550.4070,-1644.1296,28.6315,90.2970,0,1,0); // MAV 2 









and under GameModeInit





PHP Code:
LoadStaticVehicles(); 


  Moving Objects from Vice City ?
Posted by: IndependentGaming - 2019-05-05, 02:25 PM - Forum: Pawn Scripting - No Replies

Greetings, so I'm been looking around but since 9 of the 10 objects from Vice City are custom it doesn't load in the editor.

is there a way to move all the objects closer to main land for example closer to LV ?



If so how can I do that ?


  VisualTexture
Posted by: MrHind - 2019-05-05, 06:41 AM - Forum: Releases - Replies (8)

Introduction





[Image: FcNbH8q.png]



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:





  Errors with YSI
Posted by: Filiq_ - 2019-05-05, 03:40 AM - Forum: Pawn Scripting - Replies (4)

I have that errors at YSI?http://prntscr.com/nkjijp



I use?https://github.com/pawn-lang/compiler/releases? 3.10.7?I tried any version of compiler and it s same, i tried latest YSI version and i recevied more warnings and errors.





Sry for my english


  Repositories held for ransom by using valid credentials
Posted by: Gravityfalls - 2019-05-04, 07:14 PM - Forum: Tech - Replies (6)

https://about.gitlab.com/2019/05/03/susp...ty-update/


  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] [debugServer received interrupt signal

[19:50:59] [debugNative 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



Code:
memset("", 0, 0);



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


Thumbs Up Add easy ways to add voice chat in all servers.
Posted by: MatiasBernardez - 2019-05-04, 01:50 AM - Forum: Questions and Suggestions - Replies (6)

It would be good if you guys can add a sistem that make easier put voice chat on all the servers. Im sure that it will? get more players and its a sistem that can revive our community and help to got a realistic roleplaying. Thanks for reading.


  Can you add Sampcac as a default plugin?
Posted by: ThePez - 2019-05-03, 09:57 PM - Forum: Questions and Suggestions - Replies (2)

doing some research I came across sampcac and I like it.





This would be great Sampcac is an anticheat, detects most of the hacks.

Also has a client, there is a server option that only accepts those who have the client installed.



Some options



https://sampcac.xyz/docs/