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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,519
» Latest member: ysldeniss
» Forum threads: 2,415
» Forum posts: 12,367

Full Statistics

Online Users
There are currently 439 online users.
» 1 Member(s) | 436 Guest(s)
Bing, Google, ysldeniss

Latest Threads
United Gaming Life Rolepl...
Forum: Advertisements
Last Post: Cruncher
2 hours ago
» Replies: 0
» Views: 9
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
2025-09-15, 02:52 AM
» Replies: 2
» Views: 197
How to create a custom SA...
Forum: Tech
Last Post: HELLHOUND
2025-09-15, 12:12 AM
» Replies: 1
» Views: 831
Silly little render a did...
Forum: Art
Last Post: HELLHOUND
2025-09-14, 09:00 PM
» Replies: 0
» Views: 110
HWID BAN
Forum: Questions and Suggestions
Last Post: HELLHOUND
2025-09-14, 08:44 PM
» Replies: 1
» Views: 942
Manual sorting of servers...
Forum: Questions and Suggestions
Last Post: HELLHOUND
2025-09-14, 08:35 PM
» Replies: 1
» Views: 760
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
2025-09-13, 08:33 PM
» Replies: 0
» Views: 147
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
2025-09-12, 02:16 PM
» Replies: 1
» Views: 179
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 180
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 306

 
  [SOLVED] How to Use Pragma ? From #Pragma tabsize 0
Posted by: PutuSuhartawan - 2021-05-14, 10:12 AM - Forum: Pawn Scripting - Replies (15)

SOLUTION:

That's probably because the new scripter using the old includes as well. Please get the updated ones here:



https://github.com/pawn-lang/pawn-stdlib



The reason?didn't remove the warning code system is because it really cares?about the learning scripter. A lot of recommendations to make question before?the compiler success. Now sir you can find a solution. As the best developer, the basics are usually based on the strength of the solutions created. And asking for a profit before build a new resolver system.





PROBLEM:



I often see Pragma script designs, but I never had the knowledge to relate to this #pragma system. Is this pragma really from pawn?

i just have source?#pragma warning

This directive comes in two forms:

  • #pragma warning (enable|disable) XXX

    Enable or disable a warning by its number.

    Useful for hiding unwanted warnings that otherwise cannot be fixed.

  • #pragma warning (push|pop)

    Save or restore the list of currently disabled warnings.

    This can be used in conjuction with the previous form to toggle warnings

    for a piece of code:

    #pragma warning push

    #pragma warning disable XXX

    // some code here

    Put Error code after vairable option warning disable, Sample:
    Code:
    #pragma warning disable 239#pragma warning disable 217#pragma warning disable 219#pragma warning disable 203
    Quote:From Radical solution,?You can also:
    Code:
    #pragma warning disable 239, 217, 219, 203
    #pragma warning pophttps://github.com/compuphase/pawn/issues/24


  Map Images logo's
Posted by: Kettler - 2021-05-13, 04:58 PM - Forum: Support - Replies (4)

Hi, i saw servers with images "logo" like instagram or discord in the map, is there any tutorial for that?


  Help! Make an NPC CREATOR oad directly on the server without them going back to edit
Posted by: PutuSuhartawan - 2021-05-13, 10:39 AM - Forum: Pawn Scripting - No Replies

How to Make an NPC CREATOR. So before I saw that someone can make their own NPC load directly on the server without them going back to editing the script first to load it. Do you have the ability to script NPC creation directly in this gamemode?


  how much does a gm roleplay cost?
Posted by: Boxi - 2021-05-13, 02:38 AM - Forum: General Discussions - Replies (3)

hello samp friends, well i would like to know what is the cost in dollars of a unique or very well worked gm roleplay? i am interested in acquiring one, thank you!


  [Solved] Why Game mode amx size has increased?
Posted by: Radical - 2021-05-12, 04:18 PM - Forum: Pawn Scripting - Replies (12)

I made some changes to the Game Mode today, after a few hours I saw that the size of Game Mode amx increased from 4 MB to 19 MB.

Compilation time also increased from 10 seconds to seconds.

I don't remember what I did that caused it

even I optimizing well.



Compiler:

Zeex - https://github.com/pawn-lang/compiler/releases



Game Mode Includes:

Code:
#include <a_samp>

#include <a_mysql>

#include? <jit>



#include "../include/nex-ac.inc"

#include <weapon-config>



#define YSI_NO_VERSION_CHECK

#undef MAX_PLAYERS

#define MAX_PLAYERS 200



#include?<streamer>

#include <colandreas>

#include <3DTryg>

#include?<sscanf2>

#include <YSF>

#include <PreviewModelDialog>

#include <progress2>

#include <mSelection>

#include <foreach>

#include <formatex>



Code:
Header size:? ? ? ? ? 32596 bytes

Code size:? ? ? ? ? 6266484 bytes

Data size:? ? ? ? 38666848 bytes

Stack/heap size:? ? ? 16384 bytes; estimated max. usage=3072 cells (12288 bytes)

Total requirements:44982312 bytes

[Finished in 67.0s]



Solved:



weapon-config include had caused this.


  [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?