Welcome, Guest |
You have to register before you can post on our site.
|
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: (warning) literal 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(playerid, DIALOG_RESPSIONIS_PEMERINTAH, DIALOG_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!
|
|
|
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]
|
|
|
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:id, shadowcolor);
native Text3D_UseBox(Text3D:id, use);
native Text3D_BoxColor(Text3D:id, boxcolor);
native Text3D_SetAlignment(Text3D:id, alignment);
native Text3D_AttachToObject(Text3D:id, objectid, Float:OffsetX, Float:OffsetY, Float:OffsetZ);
native Text3D_SetDrawDistance(Text3D:id, Float:drawdistance); // Increase the draw distance limit to 3000.0 (or more? :D)
// Similar to object material
native Text3D_ChangeFont(Text3D:id, fontface[] = "Arial", fontsize = 24, bold = 1);
|
|
|
|