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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,511
» Latest member: snaptrap
» Forum threads: 2,233
» Forum posts: 12,034

Full Statistics

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

Latest Threads
I humor myself
Forum: Programming
Last Post: nami16504
Yesterday, 04:28 PM
» Replies: 5
» Views: 8,046
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 43
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 43
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 61
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 470
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 56
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 76
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 478
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,531

 
  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


  DISCORD Chat - SERVER Chat
Posted by: Sean17 - 2020-05-16, 08:55 AM - Forum: Pawn Scripting - Replies (4)

I'l trying to make a Discord - Server chat here's my code:

Code:
public DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[])

{

new channel_name[100  1];

if(!DCC_GetChannelName(channel, channel_name))

return 0;



new user_name[32  1];

if (!DCC_GetUserName(author, user_name))

return 0;



new userid1[20];

DCC_GetUserId(author, userid1);

if(!strcmp(userid1, CHANNEL_ID)) return 0;



? ? if(channel != BotChannel) return 0;



new str[145];

format(str, sizeof str, "{667aca}[Discord] %s:{ffffff} %s", user_name, message);

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

? ? SendClientMessage(i, -1, str); }

? ? return 1;

?}

It dosn't work and also don't have errors...