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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,590
» Latest member: folvep
» Forum threads: 2,448
» Forum posts: 12,469

Full Statistics

Online Users
There are currently 241 online users.
» 0 Member(s) | 238 Guest(s)
Yandex, Bing, Google

Latest Threads
dhfhery
Forum: Pawn Scripting
Last Post: folvep
Yesterday, 12:48 PM
» Replies: 0
» Views: 26
rhrretru
Forum: Support
Last Post: folvep
Yesterday, 12:46 PM
» Replies: 0
» Views: 23
arfawrfatv
Forum: Questions and Suggestions
Last Post: folvep
Yesterday, 12:44 PM
» Replies: 0
» Views: 22
[BETA] Renaissance DM — O...
Forum: Advertisements
Last Post: DrVandersexxx
2026-05-04, 01:44 PM
» Replies: 0
» Views: 66
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: Crazy_ArKzX
2026-05-02, 11:28 AM
» Replies: 1
» Views: 130
Object Remove?
Forum: Support
Last Post: Mivco
2026-04-29, 08:12 PM
» Replies: 0
» Views: 66
Floorp is a good webbrows...
Forum: Tech
Last Post: NoxxeR
2026-04-29, 01:01 AM
» Replies: 0
» Views: 87
Looking for Players for N...
Forum: Advertisements
Last Post: AlmightyJeremy
2026-04-27, 03:36 PM
» Replies: 0
» Views: 94
Algemene Discussies
Forum: Dutch/Nederlands
Last Post: Eamon
2026-04-27, 12:03 AM
» Replies: 41
» Views: 85,698
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 95

 
  [SOLVED] How to detect how many players there are in same place around coordinat
Posted by: PutuSuhartawan - 2021-05-12, 02:11 AM - Forum: Pawn Scripting - Replies (3)

Solution from?Pinch:



Code:
stock returnPlayersInRange(playerid, range = 40.0)

{

? ? new

? ? ? ? Floatt:x,

? ? ? ? Float:y,

? ? ? ? sloat:z,

? ? ? ? streamed;

? ? ? ?

? ? GetPlayerPos(playerid, x, y, z);

? ?

? ? foreach(new i : Player) {

? ? ? ? if(!IsPlayerInRangeOfPoint(i, range, x, y, z)) {

? ? ? ? ? ? continue; // Continue the loop (next slot)

? ? ? ? }

? ? ? ?

? ? ? ? streamed = 1; // Increments the variable by 1

? ? }

? ?

? ? return streamed; // Return the variable's value.?

...or you can just not use this cmd as players can hit F5 or whatever it was and see number of streamed players

}





The problem:

Sir, how do you detect how many players are there? For example, we want to check how many people are in SMB but without checking directly to the location but using cmd, for example cmd / check, there will be a message from the system showing how many people there are. SMB



I think it is necessary first, isplayerinrangeofpoint. Then, the for for the playerid check function has the same enum about them at the same time. enum example. pInfo [playerid] [InZoneName]



is this code can make more extend ?

Code:
new Float:x, Float:y, Float:z;

? ? ? GetPlayerPos(playerid, x, y, z);

? ? ?

? ? ? foreach(new ii : Player)

? ? ? {

? ? ? ? if(IsPlayerInRangeOfPoint(ii, 40.0, x, y, z))

? ? ? ? {

? ? ? ? ??

? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? ?

for(new x;x<MAX_PLAYERS;x)

? ? {

? ? ? ?



? ? ? ? ? }

? ? ? ?

? ? ? ? }

? ? ? }


  [SOLVED] compilation results in Pawno with Sublime so different ?
Posted by: PutuSuhartawan - 2021-05-10, 11:16 PM - Forum: Pawn Scripting - Replies (8)

SOLUTION:

Code:
Solved with, Stop, use the free Sublime, switch to Visual Studio Code for a compiler that will match both pawno and sampctl.



Problem:

I found strange symptoms when using the oldest version of the compiler and was asked to edit once with the sublime the results were stuck. In fact, the include from YSI will create a lot of missing files when compiled via sublime. But strangely, if you open it with pawno and compile it with the same obsolete pawncc, it only works in pawno. What makes YSI unsuitable for compiling via Sublime and compiling with the compiler?


  Map Dynamic Object Invisible Problem
Posted by: LinesinRows - 2021-05-10, 06:46 PM - Forum: Support - Replies (1)

Hello,
?When I created dynamic object for map (In filter-script), some objects doesn't seem for player. What's the problem in this case?
? Thanks in advance.

Some code in map;

PHP Code:
tmpobjid CreateDynamicObject(19450164.7653041937.607055530.6008910.0000000.00000090.000000, -1, -1, -1300.00300.00);
SetDynamicObjectMaterial(tmpobjid018646"matcolours""grey-70-percent"0x00000000); 

Problem img;
https://ibb.co/y04czJT


  Free Car Id
Posted by: Kripteks - 2021-05-10, 10:37 AM - Forum: Support - No Replies

I tried the free tool id for gta sa and was successful. But when I tried it for sa-mp it doesn't work when I want to download a vehicle with a different ID. How can I solve it.


  [Help] How make the NPC move bye CMD And also can point to other near players ?
Posted by: PutuSuhartawan - 2021-05-10, 02:51 AM - Forum: Pawn Scripting - Replies (2)

How to make the NPC move according to orders. And also can point to other players nearby.

I saw that there was someone who could make the NPC move by itself immediately according to the CMD command. but I don't know what command the function uses. Then can you please explain scripting to make this NPC look like it can make decisions according to orders, sir?


  HELP ! How to set the Flatbet car parameters where the car is stored crate models ?
Posted by: PutuSuhartawan - 2021-05-09, 03:16 AM - Forum: Pawn Scripting - Replies (1)

How to set the Flatbet car parameters to open the hood in the back where the car is stored, can there be crate or empty?

what is the name of the function to set the appearance of this flatbed vehicle sir? I only know setvehicleparamaters.

Sample :



Not with crate parameters :

[Image: 270098-gallery673.jpg]



With crate :

[Image: 250?cb=20100219171051]


  [SOLVED] How can the android client enter the server version 0.3.DL ?
Posted by: PutuSuhartawan - 2021-05-08, 07:21 PM - Forum: Pawn Scripting - Replies (3)

SOLUTION :

Code:
All crack client users from Android must have been banned, in order to realize capitalism that has the best and fastest GPU graphics.



The question arises when an Android user whose client is lagging behind wants to join a very updated server like the 0.3.DL version. In my opinion this really doesn't make sense and will be overwhelmed by the low version of the client. Do you think this can be overcome and you know how?

How can the android client enter the server version 0.3.DL?


  Help! How to attach the player to the player to make it look like it is lifting up?
Posted by: PutuSuhartawan - 2021-05-08, 01:48 AM - Forum: Pawn Scripting - No Replies

I have a choice if there is only a get player pos function then a target player post set, it seems better if the function is the target player specating the person who lifted that person. but add anim carry right? well there I want to add the attached objed model, but will the id skin model from that match the same alias as the target skin of the person being picked?


  Weapon-config
Posted by: israel_Oliveira - 2021-05-07, 01:19 PM - Forum: Pawn Scripting - Replies (1)

When I shoot a player nothing happens, he doesn?t take damage, what can it be? I already removed the publics Take and Give.

I put a printf in the public and it really is not being called when one player shoots the other.

Can anyone tell me why?


  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;
}