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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,049
» Latest member: starboyninja8
» Forum threads: 2,352
» Forum posts: 12,241

Full Statistics

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

Latest Threads
How to make your GTA SA:M...
Forum: Tutorials
Last Post: NoxxeR
Yesterday, 11:26 AM
» Replies: 1
» Views: 42
Problem about pawnbot
Forum: Pawn Scripting
Last Post: balkanspeed18
2025-04-26, 02:04 PM
» Replies: 0
» Views: 28
Error
Forum: Pawn Scripting
Last Post: -N0FeaR-
2025-04-25, 12:05 PM
» Replies: 0
» Views: 28
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
2025-04-25, 07:37 AM
» Replies: 0
» Views: 41
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
2025-04-25, 01:19 AM
» Replies: 0
» Views: 31
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-23, 07:10 PM
» Replies: 2
» Views: 422
black screen
Forum: Support
Last Post: geppetog
2025-04-23, 05:34 PM
» Replies: 0
» Views: 43
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 62
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 199
Sponsors and Donations
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-20, 05:48 AM
» Replies: 0
» Views: 57

 
  Only market structure
Posted by: Fuccia - 2020-10-26, 09:12 AM - Forum: Maps - No Replies

I made it in one hour, so don't wait a high quality interior, i did it just because i was bored?

My discord: Balu#9895







270 objects






[Image: sa-mp-053.png]




[Image: sa-mp-054.png]




[Image: sa-mp-055.png]




[Image: sa-mp-056.png]




[Image: sa-mp-057.png]




Quote:



  TextDraw Don't change pos !! ?
Posted by: DaZzY - 2020-10-25, 06:43 PM - Forum: Pawn Scripting - Replies (5)

Hello?



the first time i get a problem like that?



i have a TD on my GM and when i change position he don't change he stay RIGHT and don't move even when i change X Y to 9999.999 999. 999?



Quote:g_Player[playerid][td_fuel] = CreatePlayerTextDraw(playerid,288.500000, 483.588916, "Fuel: 100");

? ? PlayerTextDrawBackgroundColor(playerid,g_Player[playerid][td_fuel],0x00000033);?

? ? PlayerTextDrawFont(playerid,g_Player[playerid][td_fuel],3);

? ? PlayerTextDrawLetterSize(playerid,g_Player[playerid][td_fuel],0.000000, 0.733946);

? ? PlayerTextDrawColor(playerid,g_Player[playerid][td_fuel],0x000000ff);?

? ? TextDrawSetShadow(playerid,g_Player[playerid][td_fuel],3);





And i search if maybe i have create same and no ...


  Random Players
Posted by: Pr0fit - 2020-10-25, 01:02 PM - Forum: Pawn Scripting - Replies (6)

Hey there, I'm new to scripting, so I was wondering if anyone could help me, please.



Basically, I would need a script that would randomly select 5 players, out of all players on the server.



In the script, selected?players shouldn't repeat. I have 0 idea of how I could do it, so if anyone has any time to spare and help me out, it would be awesome.



Thank you!


  Error 4: Index Out Of Bound
Posted by: Jonies - 2020-10-25, 12:56 PM - Forum: Pawn Scripting - Replies (9)

Whats wrong with my code?


PHP Code:
#define MAX_GIFT 100

LoadGiftEvent()
{
? ? new 
rows;
? ? 
cache_get_row_count(rows);? 
? ? if(!
rows) return 0;

? ? for(new 
0MAX_GIFTi)
? ? {
? ? ? ? 
cache_get_value_name_int(i"id"g_gift[i][G_SQL_ID]);
? ? ? ? 
cache_get_value_name_float(i"x"g_gift[i][G_POS_X]);
? ? ? ? 
cache_get_value_name_float(i"y"g_gift[i][G_POS_Y]);
? ? ? ? 
cache_get_value_name_float(i"z"g_gift[i][G_POS_Z]);
? ? ? ? 
TotalGift;
? ? }
? ? 
RandomizeGift();
? ? 
printf("[MySQL R41-3]: Gift diunggah: %i pcs."TotalGift);
? ? return 
1;
}

Randomize()
{
    
//No Error There


Error :?
PHP Code:
[debugRun time error 4"Array index out of bounds"
[21:50:52] [debug]  Attempted to read/write array element at index 1034098284 in array of size 100
[21:50:52] [debugAMX backtrace:
[
21:50:52] [debug#0 00535c3c in ?? () from new.amx
[21:50:52] [debug#1 00511eb4 in public LoadGiftEvent () from new.amx 

Database
PHP Code:
+---+---------+---------+-------
id x? ? ? ? | y? ? ? ? | z? ? ? |
+---+---------+---------+-------
|? 
|? 961.241 | -1445.19 13.452 |
|? 
|? 1480.38 | -1638.49 14.148 |
|? 
|? 2157.07 | -1591.43 14.367 |
|? 
|? 1911.26 | -1776.76 13.383 |
|? 
|? 1110.03 | -1794.52 16.594 |
|? 
|? 835.95 | -2001.94 12.887 |
|? 
|? 348.408 | -1799.52 |? 4.815 |
|? 
|? 311.593 | -1797.88 |? 4.558 |
|? 
|? 389.555 | -1521.73 32.278 |
10 |? 484.068 | -1514.09 20.305 |
11 |? 1007.2 | -1349.95 13.384 |
12 |? 660.498 | -457.695 16.336 |
13 |? 701.584 | -457.038 16.336 |
14 |? 33.179 | -230.749 |? 5.499 |
15 |? 207.187 | -173.123 |? 1.594 |
16 |? 155.693 | -167.684 |? 1.578 |
17 |? -62.499 |? 45.752 |? 3.11 |
18 |? -39.79 |? 52.641 |? 6.484 |
19 |? 1347.72 |? 346.591 20.068 |
20 |? 1319.34 |? 402.335 21.041 |
21 |? 1626.3 |? 613.707 |? 7.781 |
22 |? 1637.01 |? 723.854 |? 10.82 |
23 |? 1668.25 |? 1012.54 10.846 |
24 |? 2119.13 |? 1332.83 |? 10.82 |
25 |? 2003.2 |? 1544.19 13.586 |
26 |? 1973.1 |? 1623.26 12.862 |
27 |? 1878.8 |? 1794.85 18.934 |
28 |? 2215.83 | -1167.89 25.743 |
29 |? 2290.2 | -1527.98 26.875 |
30 |? 2459.42 |? -1711.8 13.569 |
31 |? 2262.56 | -1788.16 13.547 |
32 |? 2162.9 | -1775.89 19.838 |
33 |? 1993.77 | -1779.85 17.362 |
34 |? 1862.91 | -1872.31 |? 13.51 |
35 |? 1199.06 | -1731.43 13.605 |
36 |? 665.22 | -1865.49 |? 5.492 |
37 |? 154.094 |? -1963.4 |? 3.815 |
38 | -376.609 | -1424.06 25.754 |
39 | -1678.19 | -581.488 |? 14.18 |
40 | -1609.76 | -492.925 |? 22.11 |
41 | -1250.41 |? -99.605 14.186 |
42 | -1991.22 |? 148.402 27.611 |
43 |? -1927.3 |? 264.146 41.065 |
44 | -2255.51 |? 539.933 35.191 |
45 | -2490.46 |? 1078.68 56.197 |
46 | -2666.56 |? 1809.75 68.217 |
47 |? 206.315 |? 2506.19 16.515 |
48 |? 1692.45 |? 1445.19 10.783 |
49 |? 1610.13 |? 1599.86 |? 10.86 |
50 |? 1766.05 | -1919.73 |? 13.6 |
+---+---------+---------+------- 


  Beware
Posted by: Limitless - 2020-10-25, 05:23 AM - Forum: Chat - Replies (4)

Ahh Jeez, Someone offered me a free host, his windows server. So I transferred my files, server went good, and SUDDENLY- this guy locked the host and stole my script, discord template, deleted accounts and s***.



So EVERYONE, don't trust a guy called Bonamiice#7125 on discord, dont trust him, he stole everything from us, and also his discord server used the FiveM Limitless Roleplay Image, which has copyright claims... Stay Safe!


  Problem with a fuel system when car respawn ...
Posted by: DaZzY - 2020-10-24, 11:19 PM - Forum: Pawn Scripting - Replies (1)

Hello ,?

I make a fuel system on my GM?

but i get a little problem when a vehicle unoccuppied respawn the fuel do not reset?

example when player leave a car with ?40 % of fuel and car respawn so car not respawn with 100 % of fuel ...

I don't know how to solve that

what a callback i must to use ?


  Error with TextDrawSetString ??
Posted by: DaZzY - 2020-10-24, 04:12 PM - Forum: Pawn Scripting - Replies (2)

Hello i want to create a TD of FUEL And i get error when i use?TextDrawSetString?



Quote:C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 029: invalid expression, assumed zero

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : warning 215: expression has no effect

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 001: expected token: ";", but found "]"

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : error 029: invalid expression, assumed zero

C:\Users\user\Desktop\Samp\samp server\gamemodes\SFUD.pwn(5445) : fatal error 107: too many error messages on one line





This is on Gamemodeini :



Quote:g_Player[playerid][td_fuel] = CreatePlayerTextDraw(playerid,45.000000,324.000000,"Fuel: 100");

? ? PlayerTextDrawBackgroundColor(playerid,g_Player[playerid][td_fuel],0x00000033);

? ? PlayerTextDrawFont(playerid,g_Player[playerid][td_fuel],3); /

? ? PlayerTextDrawLetterSize(playerid,g_Player[playerid][td_fuel],0.699999,1.700000);

? ? PlayerTextDrawColor(playerid,g_Player[playerid][td_fuel],0x000000ff);

? ? TextDrawSetShadow(playerid,g_Player[playerid][td_fuel],3);







Quote:public timer_fuel_lower()

{

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

? ? ? ? if (isrefuelling[i]) continue; //

? ? ? ? new vid = GetPlayerVehicleID(i); //

? ? ? ? if (GetPlayerVehicleSeat(i) == 0) { //

? ? ? ? ? ? fuel[vid] = fuel[vid] -1; //

? ? ? ? ? ? if (fuel[vid]<1) //

? ? ? ? ? ? {

? ? ? ? ? ? ? ? fuel[vid] = 0; //

? ? ? ? ? ? ? ? RemovePlayerFromVehicle(i); //

? ? ? ? ? ? ? ? GameTextForPlayer(i,"~r~You are out of ~w~fuel~r~!",5000,4); //

? ? ? ? ? ? }

? ? ? ? }

? ? ? ?

? ? ? ? new tdstring[32];

? ? ? ?format(tdstring,sizeof tdstring,"Fuel:%i",fuel[vid]);

? ? ? ? TextDrawSetString([td_fuel][i], tdstring); < Line 5445



? ? }



}





Whats wrong please ??


  OCTOBER 2020 Q&A Live stream recording and podcast
Posted by: Potassium - 2020-10-24, 02:33 AM - Forum: Development Updates - Replies (4)

Our first ever live stream was a success, with a peak of 150 viewers, and a whole bunch of your questions answered!

Text transcript will be on the forum within the next few days.

Feel free to offer your feedback on how we can improve our streams :)

The podcast can be found here:?https://www.buzzsprout.com/1439923/6037927

And the video:

[Video: https://youtu.be/bTYWWsXkcDo]


  Ability to manage the display of the HUD
Posted by: BrunoNapoli97 - 2020-10-23, 06:32 PM - Forum: Questions and Suggestions - Replies (3)

Hi, sorry for my bad English but I write with google translator, I wanted to ask you if there will be the possibility to deactivate or activate the game HUD or maybe just the radar, it would be a great thing to do. thanks for a future reply.


  Help with Custom Weapon Names
Posted by: RoBy41 - 2020-10-23, 02:08 PM - Forum: Pawn Scripting - Replies (5)

Lately I noticed that Roleplay servers scripts allow weapons with the same ID (for example, a Deagle) to be stored in a player's inventory under different names. For example, if a player (from Grove Street Families)?has a Deagle on him, if he does /inventory (hypothetically), instead of Deagle, the weapon's name is ''Glock''. Also, let's say there is another player (from Ballas) that has a Deagle on him. But in this case, the weapon's name?(Deagle) can be another weapon name other than Glock (that the first player has), for example, when the second player does /inventory, the name of the Deagle is ''Beretta''.



How can you do that?