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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,237
» Latest member: hansmuhammadkhoirullah
» Forum threads: 2,374
» Forum posts: 12,283

Full Statistics

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

Latest Threads
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2 hours ago
» Replies: 0
» Views: 9
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,154
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 50
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 429
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 565
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,068
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 60
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 77
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 92
samp-cef
Forum: Questions and Suggestions
Last Post: jamespssamp
2025-06-18, 11:36 AM
» Replies: 0
» Views: 82

 
  [SOLVED] (warning) literal array/string passed to a non-const parameter
Posted by: cosine - 2020-05-26, 04:26 PM - Forum: Pawn Scripting - Replies (1)

As the title said,

Right now im using the new compiler and sampctl, and having this problem with warning

PHP Code:
(warningliteral array/string passed to a non-const parameter 

There's so much line getting warning, and most of them is pointing to the line with function ShowPlayerDialog.



This is one of them.

PHP Code:
showDialogResepsionis(playerid){

? ?return 
ShowPlayerDialog(playeridDIALOG_RESPSIONIS_PEMERINTAHDIALOG_STYLE_LIST"Pilihan tindakan pengurusan data""KTP""Pilih""Batal");





Note : I have update to YSI 5.x and here is my depedencies

PHP Code:
"dependencies": [

 
"sampctl/samp-stdlib",

 
"Southclaws/samp-logger",

 
"pawn-lang/YSI-Includes",

 
"zeex/samp-plugin-crashdetect:v4.19.4",

 
"pawn-lang/[email protected]",

 
"samp-incognito/samp-streamer-plugin:v2.9.4",

 
"Southclaws/progress2",

 
"pBlueG/SA-MP-MySQL:R41-4",

 
"Southclaws/zcmd",

 
"maddinat0r/sscanf:v2.8.3",

 
"BigETI/pawn-memory:2.0.1"

 
], 


  Funciones de MySQL R41-4.
Posted by: keloke - 2020-05-26, 08:34 AM - Forum: Programaci?n - Replies (1)

Hola a todos.



En la actualizaci?n de versi?n MySQL de una gamemode a la R41-4, me encuentro con el problema de que ha cambiado demasiado.



?Alguien me podr?a a ayudar, en indicarme cu?les son las funciones de las versiones anteriores en la nueva?



Ejemplo random



MYSQL R39 es bla bla bla, en MySQL 41-4 es bla bla bla



Gracias!


Heart Steven's Dynamic House System [MySQL]
Posted by: Steven - 2020-05-24, 03:16 PM - Forum: Filterscripts - No Replies

Well, I was lurking around with scripting and scripted a filterscript. It is a Dynamic House system. Hope you like it:



Features:

- Totally Dynamic MYSQL R41

- Drugs storage

- Money storage



-- I did this in one day btw, so any errors please tell me, i didnt find any bug btw.



CMDS:

- /ahouse - for admin to create or edit house

- /house for? the owner



I havent took screenshots and its just simple so no ss:

AND I know ppl will say this is same thing others have posted so yeah maybe but this is basic for someone to learn or Maybe I myself will learn by posting here.

Criticism is highly appreciated.



CODE: (Pastenbin is dead in Pakistan)

https://controlc.com/c80b761c


  [AYUDA] Necesito adaptar esto
Posted by: BIOS - 2020-05-24, 03:18 AM - Forum: Programaci?n - Replies (7)

Buenas, Resulta que quiero poner este objeto en mi veh?culo de trabajo pero no se como hacerlo, si me mostrar?an un ejemplo se los agradecer?a.



El objeto:

[c?digo] nuevo myobject = CreateObject (19433,0,0, -1000,0,0,0,100);





AttachObjectToVehicle (myobject, GetPlayerVehicleID (playerid), -0.000000, -1.875000,0.375000,0.000000,121.499954, -91.799980); [/ code]



El veh?culo en el cual quiero montar el objeto:



[c?digo] nuevo San_Andreas_Vehicles [] [San_Andreas_Vehicles_Info] =

{

// taxi ls



{VEHICLE_TYPE_WORK, WORK_TAXI, 0, 420, 1792.5676, -1868.2953, 13.2887, 0.0000, 6, 1, 0},





}[/c?digo]


  Charset
Posted by: Pinch - 2020-05-23, 12:13 AM - Forum: Questions and Suggestions - No Replies

It'd be nice of open.mp team to add support for letters such as?c c ? d ?



https://github.com/ziggi/rustext



Thank you!


  Charset
Posted by: Pinch - 2020-05-23, 12:09 AM - Forum: Pawn Scripting - Replies (1)

Is there a plugin/code?that fixes the display of?letters c c ? d ???


  KALCOR IS CANCELLED?
Posted by: Pinch - 2020-05-22, 11:31 PM - Forum: General Discussions - Replies (5)

Why is last activity null?

https://forum.sa-mp.com/member.php?u=3

It should always so be shown, so is there possibility that he deactivated his profile or something like that?



I checked older accounts and Last Activity is always shown (it used to be for Kalcor too)


  More functions for 3D Texts Labels
Posted by: ForT - 2020-05-22, 03:47 PM - Forum: Questions and Suggestions - No Replies

I thought of some functions for the 3d texts that could be very useful and that would also make the servers more attractive if used in the right way.



PHP Code:
#define TEXT3D_ALIGNMENT_CENTER? ? ?0 // Default

#define TEXT3D_ALIGNMENT_LEFT? ? ? ?1

#define TEXT3D_ALIGNMENT_RIGHT? ? ? 2



native Text3D_SetShadowColor(Text3D:idshadowcolor);

native Text3D_UseBox(Text3D:id, use);

native Text3D_BoxColor(Text3D:idboxcolor);

native Text3D_SetAlignment(Text3D:idalignment);

native Text3D_AttachToObject(Text3D:idobjectidFloat:OffsetXFloat:OffsetYFloat:OffsetZ);

native Text3D_SetDrawDistance(Text3D:idFloat:drawdistance); // Increase the draw distance limit to 3000.0 (or more? :D)



// Similar to object material

native Text3D_ChangeFont(Text3D:idfontface[] = "Arial"fontsize 24bold 1); 


  SampSharp GameMode
Posted by: Hype - 2020-05-18, 04:55 PM - Forum: Gamemodes - No Replies

Some time ago I released unfinished gamemode written in C# using plugin SampSharp.

You can download it for free to learn, it is a great example - what I did is login and registration system trought MySql and basic player spawn.



Download basic gamemode here:

https://github.com/Hy4e/SampSharp-GameMode

SampSharp site - write your SA:MP gamemode in modern language C#:

https://sampsharp.net/

How to setup project for your server?

https://sampsharp.net/getting-started



Good luck and feel free to post here if you face any issue!


  Secure Servers
Posted by: Pinch - 2020-05-17, 09:41 PM - Forum: Questions and Suggestions - No Replies

// Oh God what was I thinking back then