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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,029
» Latest member: joshcoconutard
» Forum threads: 2,351
» Forum posts: 12,241

Full Statistics

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

Latest Threads
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2 hours ago
» Replies: 0
» Views: 2
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
6 hours ago
» Replies: 4
» Views: 95
Desolation Roleplay
Forum: Gamemodes
Last Post: Nikore
Today, 07:04 AM
» Replies: 2
» Views: 4,529
Battlefields - TDM (Team ...
Forum: Gamemodes
Last Post: Nikore
Today, 04:14 AM
» Replies: 3
» Views: 2,779
Will there be a higher pl...
Forum: General Discussions
Last Post: Armeat2005
Yesterday, 08:40 AM
» Replies: 0
» Views: 29
DOF2.1 (DOF2 Updated)
Forum: Libraries
Last Post: GracieStith
Yesterday, 04:51 AM
» Replies: 1
» Views: 866
Kontak Layanan CIMB Niaga...
Forum: Support
Last Post: bosquee9053
2025-04-20, 03:44 PM
» Replies: 0
» Views: 25
CS Bank DBS Customer Cent...
Forum: Chat
Last Post: bosquee9053
2025-04-20, 03:37 PM
» Replies: 0
» Views: 34
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 43
Best practices for conver...
Forum: Tech
Last Post: Mido
2025-04-19, 09:53 PM
» Replies: 1
» Views: 98

 
  Hata Anti-Cheat (H-AC)
Posted by: Hata - 2021-05-07, 09:06 AM - Forum: Libraries - No Replies

List of Fixed Cheats;

Code:
Silent Aimbot
Vehicle Repair Hack
Screen Flickering
Car Troller?
Surfing Invisible
Airbreak
Seat ID Crasher
Speed Hack (On Foot/Driver)
Troll Animation
Animation Invisible
Fly Hack?(On Foot)
Rage Shot
Trailer Crasher
Weapon Hack //To be developed.


Include:?H-AC.inc

Cheat Detection Public (To be added to gamemode);

Code:
public OnPlayerCheatDetected(playerid, code)
{
? ? new cheatname[30], string[128];
? ? switch (code)
? ? {
? ? ? ? case 0: cheatname = "Silent Aimbot";
? ? ? ? case 1: cheatname = "Vehicle Repair Hack";
? ? ? ? case 2: cheatname = "Screen Flickering";
? ? ? ? case 3: cheatname = "Car Troller";
? ? ? ? case 4: cheatname = "Surfing Invisible";
? ? ? ? case 5: cheatname = "Airbreak";
? ? ? ? case 6: cheatname = "Seat Crasher";
? ? ? ? case 7: cheatname = "Speed Hack";
? ? ? ? case 8: cheatname = "Troll Animation";
? ? ? ? case 9: cheatname = "Animation Invisible";
? ? ? ? case 10: cheatname = "Fly Hack";
? ? ? ? case 11: cheatname = "Rage Shot";
? ? ? ? case 12: cheatname = "Trailer Crasher";
? ? ? ? case 13: cheatname = "Weapon Hack";
? ? }
? ? format(string, sizeof(string), "~w~%s detected by Hata Anti-Cheat", cheatname);
? ? GameTextForAll(string, 1000, 3);
? ? Kick(playerid);
? ? return 1;
}


  [SOLVED] What is the function, for (increment )? and where did it come from?
Posted by: PutuSuhartawan - 2021-05-07, 02:13 AM - Forum: Pawn Scripting - Replies (1)

SOLUTION??by?AbyssMorgan :

Code:
Pawn have only for, while and do while loops.

foreach is function maked by developers in foreach.inc standalone y_foreach aka y_iterate or FoxForeach.inc



for example:

Code:

for(new i = 0; i < 10; i)



for(new i = 0; i < 10; i = 2)



for(new i = 0, j = strlen(stringvar); i < j; i)



What is the function, for (increment )? and where did it come from? is that function?from include?



at first I thought the function, "for" was made by foreach include. I was wrong, is this the default function of the pawn language? Can you explain why the language in "for" is different in general? and is it really different for the "for" and "foreach" functions?


  So is it dead?
Posted by: pakistanplayer - 2021-05-06, 11:37 AM - Forum: Questions and Suggestions - Replies (12)

https://open.mp/progress



2 months last update here.



Honestly, many have lost hopes about this.



SA-MP has no active developer (Kalcor), it's done.

UGMP is another shit which has worse performance than GTA Online for computers and tons of bugs/crashes and bad client,



And open-mp is just terribly slow progress.



I mean, at december video in youtube, it was told " beta server coming soon ", so is soon, 2022?



I don't see anything neither beta server nor anything released this year.



Gotta say, this project had a lot of hype, but having so many members in the team and not being able to finish it, Already few years passed.



Honestly, R.I.P All the multiplayers for GTA:SA. 85% of english speaking people already left this game long ago. Now there are only bots and hackers.


  How do I make the letter ? appear in the textdraws?
Posted by: Boxi - 2021-05-05, 11:45 AM - Forum: Pawn Scripting - Replies (1)

hello forum friends, I would like to know why when I put the letter ? in a textdraw the letter does not appear, the same with the accents, does anyone know how to solve this? thanks!


  [Solved] Dynamic object stream distance
Posted by: Radical - 2021-05-04, 10:47 PM - Forum: Pawn Scripting - Replies (2)

SOLUTION:

(2021-05-05, 03:53 PM)AbyssMorgan Wrote: I recommend this:

Code:
public OnPlayerConnect(playerid){



Streamer_ToggleIdleUpdate(playerid,1);



return 1;

}

Can solve more problems with streaming.







Code:
new objid =?CreateDynamicObject(4002, -1474.1728, 918.9337, 49.2299, 0.0, 0.0, 90.0, -1, -1, -1, 700.0, 700.0, -1, 1);

SetDynamicObjectMaterial(objid, ...);



I changed the stream_distance and draw_distance of this object to 700.0, but it is still not appear from distant points.



Also, if my distance to this object is 100.0, It still not appear,?I have to go to this object more.



I removed the original building and rebuilt it, but added some materials to it.



What is the problem?



Edit:

Solved.



Solution:



Code:
public OnPlayerSpawn(playerid) {

? ? Streamer_Update(playerid);


  [SOLVED] How make function to turn on the vehicle lights blinks like siren alarm ?
Posted by: PutuSuhartawan - 2021-05-04, 04:38 AM - Forum: Pawn Scripting - Replies (4)

SOLUTION:

Code:
public UpdateServer(playerid)

{

? ? ? new vehicleid = GetPVarInt(playerid,"BlinkVehID"), panels, doors, lights, tires;

? ? ? if(g_vehicle_params[vehicleid][V_BLINK] == true)

? ? ? {

? ? ? ? ? ? GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);

? ? ? ? ? ?

? ? ? ? ? ? if(g_vehicle_params[vehicleid][V_BLINKING] == 1)

? ? ? ? ? ? {

? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 1, tires);

? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 69;

? ? ? ? ? ? }

? ? ? ? ? ? else if(g_vehicle_params[vehicleid][V_BLINKING] == 69)

? ? ? ? ? ? {

? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 69, tires);

? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 0;

? ? ? ? ? ? }

? ? ? ? ? ? else if(g_vehicle_params[vehicleid][V_BLINKING] == 0)

? ? ? ? ? ? {

? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 1, tires);

? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 4;

? ? ? ? ? ? }

? ? ? ? ? ? else

? ? ? ? ? ? {

? ? ? ? ? ? ? UpdateVehicleDamageStatus(vehicleid, 0, doors, 4, tires);

? ? ? ? ? ? ? g_vehicle_params[vehicleid][V_BLINKING] = 1;

? ? ? ? ? ? }

? ? ? ?



? ? ? }



}

Source Pawn :?Blinking Lights.pwn

Tutorial :?Video

Problem:

function to turn on the vehicle lights so that it blinks like a siren

someone intelligent has asked. but I only know the parameter toggle lights and also neon. how do you turn on the flashing lights without fluorescent?


  ?? ??
Posted by: Gek - 2021-05-03, 08:11 PM - Forum: Other - No Replies

?? ??


  Problem with accent
Posted by: Kameko - 2021-05-03, 06:25 PM - Forum: Pawn Scripting - Replies (3)

Hello, when I compile my gamemode with accent on text, that don't work. If I remove the accent it's work.. How can I fix this error?


  [MAP] McDonald's
Posted by: Muksinjo - 2021-05-03, 02:56 PM - Forum: Videos and Screenshots - Replies (5)

Hope you like it, leave a comment :D



https://imgur.com/a/I1DUdIZ


  Long callback execution
Posted by: Snow - 2021-05-02, 02:10 AM - Forum: Pawn Scripting - Replies (9)

I am getting tons of long callback executions in my server logs, People told me the that I need to shorten my functions and optimize the code. This is one of the functions that also detects long callback execution. So I'm gonna need an example from this to fix the long execution. Hoping to get some help here.?



Code:
public OnPlayerExitVehicle(playerid, vehicleid)

{

? ? ? ? InCar[playerid] = 0;

? ? ? ? LastCar[playerid] = vehicleid;



? ? ? ? if(DeliveryMan[playerid])

? ? ? ? {

? ? ? ? ? ? for(new i; i<sizeof(BurritoSpawnInfo); i)

? ? ? ? ? ? {

? ? ? ? ? ? ? ? if(GetPlayerVehicleID(playerid) == Burrito_ID[i])

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? SendClientMessage(playerid, COLOR_COURIER, "* Press Y behind your vehicle to pickup the goods.");? ?

? ? ? ? ? ? ? ? }? ?

? ? ? ? ? ? }

? ? ? ? ? ?

? ? ? ? }

? ? ? ? return 1;

}