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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,227
» Latest member: lu88beer
» Forum threads: 2,373
» Forum posts: 12,327

Full Statistics

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

Latest Threads
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,123
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 38
Very Basic SAMP UCP
Forum: Videos and Screenshots
Last Post: bullyalina
2025-06-28, 12:43 PM
» Replies: 49
» Views: 12,744
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 424
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 539
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,059
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 49
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: JamesC
2025-06-20, 07:34 PM
» Replies: 0
» Views: 62
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2025-06-18, 03:12 PM
» Replies: 0
» Views: 85
samp-cef
Forum: Questions and Suggestions
Last Post: jamespssamp
2025-06-18, 11:36 AM
» Replies: 0
» Views: 69

 
  samp-vehicle-framework
Posted by: Mergevos - 2021-11-09, 03:51 PM - Forum: Libraries - No Replies

Vehicle framework



Vehicle framework is rich library providing you with many simplified and new functions.

It comes with many new tags, also it implements vehicle groups.?



Take a look at:?



Mergevos/samp-vehicle-framework (github.com)



a
nd install it with:





Code:
sampctl p install Mergevos/samp-vehicle-framework


  Weapon-config.inc
Posted by: AlCapone - 2021-11-07, 10:54 AM - Forum: Pawn Scripting - Replies (3)

Hey all, i hope everyone is doing well, please i need a?tutorial to add " weapon-config.inc " to my script...?https://github.com/oscar-broman/samp-weapon-config



if anyone can help me plss


  GTA San Andreas Definitive Edition multiplayer?
Posted by: ixes - 2021-11-03, 01:01 PM - Forum: General Discussions - Replies (5)

As we already know,?GTA Trilogy's incoming including GTA San Andreas Definitive edition.?

Whether there are rumors if its compatible with SA-MP ?


  ?????? ?????????? ???????? ?????? ? VSCODE
Posted by: Jhames - 2021-10-30, 07:52 PM - Forum: Russian/??????? - No Replies

Code:
> Executing task in GFRJ folder: C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\ Desktop\GFRJ\gamemodes' '-;' '-(' '-d3' <



Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase



The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ \gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3'" was terminated with exit code: 1.



The terminal will be reused by tasks, press any key to close it.







[Image: d04v6a2.jpg]


  Erro ao compilar GM VSCode
Posted by: Jhames - 2021-10-30, 07:50 PM - Forum: Portuguese/Portugu?s - No Replies

O que pode ser esse erro ?



Code:
> Executing task in folder GFRJ: C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3' <



Pawn compiler 3.10.10? ? ? ? ? ? ? ? ? Copyright (c) 1997-2006, ITB CompuPhase



O processo de terminal "C:\Program Files\PowerShell\7\pwsh.exe -Command C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3'" foi terminado com o c?digo de sa?da: 1.



O terminal ser? reutilizado por tarefas, pressione qualquer tecla para fech?-lo.





[Image: d04v6a2.jpg]


  Help me error compiling gamemode in VSCODE
Posted by: Jhames - 2021-10-30, 07:47 PM - Forum: Pawn Scripting - No Replies

Code:
> Executing task in GFRJ folder: C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ\gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\ Desktop\GFRJ\gamemodes' '-;' '-(' '-d3' <



Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase



The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command C:\Users\Telzi\Desktop\GFRJ\pawno\pawncc.exe 'c:\Users\Telzi\Desktop\GFRJ \gamemodes\gtafaccoesbr.pwn' '-Dc:\Users\Telzi\Desktop\GFRJ\gamemodes' '-;' '-(' '-d3'" was terminated with exit code: 1.



The terminal will be reused by tasks, press any key to close it.







[Image: d04v6a2.jpg]


  solved
Posted by: Jhames - 2021-10-30, 11:12 AM - Forum: Support - No Replies

solved


  open.mp for new GTA SA definitive edition game?
Posted by: Godfather - 2021-10-26, 01:45 PM - Forum: Questions and Suggestions - Replies (6)

Did anyone thought about this one?



What if open.mp developers wait for the new (remastered) game to come by and do the multiplayer for that one instead? Wouldn't that be a hit?



https://www.youtube.com/watch?v=D71cBUeAL58


  Looking for a cheater to help me test
Posted by: rt-2 - 2021-10-22, 11:11 AM - Forum: General Discussions - No Replies

Hi, I'm just looking with someone with all the tools to test security on my server.

There is a particular test I need to do involving airbreak.



I understand it's kinda easy to download the hacks myself but last time I tried it didn't work and I might just do it with someone and socialize.



Contact me on discord if you have all the tools,

Thank you,?

rt-2#6159


  Loop
Posted by: JaKe Elite - 2021-10-20, 08:34 AM - Forum: Pawn Scripting - No Replies

I am having troubles with looping. I have been experimenting with textdraws and how to make them work with the Inventory System.?



However I notice something that the loop skips a textdraw or an index part of loop if the condition is -1.



For example, I have the following in my inventory



Code:
0. Marijuana

1. Cocaine

2. Heroin

3. Stereoids

4. Drinks

5. Foods

6. Keys

7. Katana



If I remove cocaine from the list, the loop will skip and display the preview models to these order.



Code:
0. Marijuana

NULL (-1) = Nothing is displayed

2. Heroin

3. Stereoids

4. Drinks

5. Foods

6.?Keys

7. Katana



I? have tried messing around with the code but it still skips a part of the loop (the last one)



Code:
0. Marijuana

1. Heroin

2. Stereoids

3. Drinks

4. Foods

5.?Keys

6. Katana

NULL (-1)



What I would like to do with the loop is that it shouldn't skip.



Screenshot:

[Image: KgyRiy0.png]

What the Inventory Normally looks like



[Image: Hgzo75p.png]

What the Inventory looks like when an item is removed, notice the last part doesn't get created instead of moving to the next one to fill it up.



Code:

PHP Code:
static stock ShowInventoryTextDrawToPlayer(playeriditems[], size sizeof(items))

{

new 
Float:123.5Float:150.0page[64];

format(pagesizeof(page), "Inventory - Page 1/%d", (size MAX_ITEMS_VISIBLE)  1);



// background 

for(new 0<= 2iTextDrawShowForPlayer(playeridinv_interactive_box[i]);

// buttons (use, drop, give)

for(new 0<= 2iTextDrawShowForPlayer(playeridinv_interactive_button[i]);

// previous & next buttons 

TextDrawShowForPlayer(playeridinv_interactive_nextprev[0]);

TextDrawShowForPlayer(playeridinv_interactive_nextprev[1]);



// create player textdraw inventories



// header 

player_inv_header[playerid] = CreatePlayerTextDraw(playerid321.000000128.000000page);

PlayerTextDrawFont(playeridplayer_inv_header[playerid], 2);

PlayerTextDrawLetterSize(playeridplayer_inv_header[playerid], 0.2541661.350000);

PlayerTextDrawTextSize(playeridplayer_inv_header[playerid], 400.000000272.500000);

PlayerTextDrawSetOutline(playeridplayer_inv_header[playerid], 1);

PlayerTextDrawSetShadow(playeridplayer_inv_header[playerid], 0);

PlayerTextDrawAlignment(playeridplayer_inv_header[playerid], 2);

PlayerTextDrawColor(playeridplayer_inv_header[playerid], -1);

PlayerTextDrawBackgroundColor(playeridplayer_inv_header[playerid], 255);

PlayerTextDrawBoxColor(playeridplayer_inv_header[playerid], 1296911806);

PlayerTextDrawUseBox(playeridplayer_inv_header[playerid], 1);

PlayerTextDrawSetProportional(playeridplayer_inv_header[playerid], 1);

PlayerTextDrawSetSelectable(playeridplayer_inv_header[playerid], 0);



// inventory items

for (new 0idx 0!= MAX_INVENTORY_ITEMS)

{

if(
>= size)

{

player_TDInvData[playerid][player_TDInvModel][i] = -1;

}

else 

{

? ? if (
items[i] == -1)

{

continue;

? ? ? ? ? ? ? ? 
//player_TDInvData[playerid][player_TDInvModel][i] = -1;

? ? ? ? ? ? ? ? //player_TDInvData[playerid][player_TDInvQuantity][i] = 0;

? ? ? }

? else

? {

player_TDInvData[playerid][player_TDInvModel][i] = items[i];



? ? ? ? ? ? 
//player_TDInvData[playerid][player_TDInvQuantity][i] = amounts[i];

}

if (
MAX_ITEMS_VISIBLE)

{

if (
idx && (idx MAX_ITEMS_PER_COL) == 0)

{

189.0;

74.0;

}

else 

{

66.0;

}

idx;



? ? ? ? if (
MAX_ITEMS_VISIBLE && items[i] != -1)

{

? ? 
player_inv_model[playerid][i] = CreatePlayerTextDraw(playeridxy"_");



PlayerTextDrawFont(playeridplayer_inv_model[playerid][i], 5);

PlayerTextDrawLetterSize(playeridplayer_inv_model[playerid][i], 0.6000002.000000);

PlayerTextDrawTextSize(playeridplayer_inv_model[playerid][i], 62.00000069.000000);

PlayerTextDrawSetOutline(playeridplayer_inv_model[playerid][i], 1);

PlayerTextDrawSetShadow(playeridplayer_inv_model[playerid][i], 0);

PlayerTextDrawAlignment(playeridplayer_inv_model[playerid][i], 1);

PlayerTextDrawColor(playeridplayer_inv_model[playerid][i], -1);

PlayerTextDrawBackgroundColor(playeridplayer_inv_model[playerid][i], 255);

PlayerTextDrawBoxColor(playeridplayer_inv_model[playerid][i], 50);

PlayerTextDrawUseBox(playeridplayer_inv_model[playerid][i], 0);

PlayerTextDrawSetProportional(playeridplayer_inv_model[playerid][i], 1);

PlayerTextDrawSetSelectable(playeridplayer_inv_model[playerid][i], 1);

PlayerTextDrawSetPreviewModel(playeridplayer_inv_model[playerid][i], items[i]);

PlayerTextDrawSetPreviewRot(playeridplayer_inv_model[playerid][i], 0.0000000.0000000.0000001.000000);

PlayerTextDrawSetPreviewVehCol(playeridplayer_inv_model[playerid][i], 11);

}

}

}

}



player_TDInvData[playerid][player_TDSelectedItem] = -1// Reset selected item.

player_TDInvData[playerid][player_TDInvPage] = 1;

player_TDInvData[playerid][player_TDInvTotalPage] = (size MAX_ITEMS_VISIBLE)  1;



// show it 

PlayerTextDrawShow(playeridplayer_inv_header[playerid]); 



for(new 
0MAX_ITEMS_VISIBLEiPlayerTextDrawShow(playeridplayer_inv_model[playerid][i]);



SelectTextDraw(playerid0x33AA33FF);

return 
1;

}



stock ShowPlayerInventory(playerid)

{

if((
<= playerid MAX_PLAYERS) || IsPlayerConnected(playerid)) // prevent ID spoof.

{

new 
items[44] = {-1, ...}, count;



for (new 
044)

{

if (
InventoryData[playerid][i][invExists]) {

items[i] = InventoryData[playerid][i][invModel];

count ;

}

}



if(
count >= 1)

ShowInventoryTextDrawToPlayer(playeriditemssizeof(items));

else 

SendClientMessage(playerid, -1"You do not have anything in your inventory.");

}

return 
1;

}



CMD:demo2(playeridparams[])

{

Inventory_Remove(playerid"Cocaine");

return 
1;

}



CMD:demo(playeridparams[])

{

Inventory_Add(playerid"Marijuana"1578);

Inventory_Add(playerid"Cocaine"1575);

Inventory_Add(playerid"Heroin"1577);

Inventory_Add(playerid"Steroids"1241);

Inventory_Add(playerid"Marijuana Seeds"1578);

Inventory_Add(playerid"Cocaine Seeds"1575);

Inventory_Add(playerid"Heroin Opium Seeds"1577);

Inventory_Add(playerid"Golf Club"333);

Inventory_Add(playerid"Knife"335);

Inventory_Add(playerid"Shovel"337);

Inventory_Add(playerid"Katana"339);

Inventory_Add(playerid"Colt 45"346);

Inventory_Add(playerid"Desert Eagle"348);

Inventory_Add(playerid"Micro SMG"352);

Inventory_Add(playerid"Tec-9"372);

Inventory_Add(playerid"MP5"353);

Inventory_Add(playerid"Shotgun"349);

Inventory_Add(playerid"AK-47"355);

Inventory_Add(playerid"Rifle"357);

Inventory_Add(playerid"Sniper"358);

Inventory_Add(playerid"Magazine"2039);

Inventory_Add(playerid"Cooked Burger"2703);

Inventory_Add(playerid"Cooked Pizza"2702);

Inventory_Add(playerid"Driving License"1581);

//Inventory_Add(playerid, "Weapon License", 1581);

Inventory_Add(playerid"Cellphone"330);

Inventory_Add(playerid"GPS System"18875);

Inventory_Add(playerid"Spray Can"365);

Inventory_Add(playerid"Water Bottle"2958);

Inventory_Add(playerid"Soda"1543);

? ? 
Inventory_Add(playerid"Fuel Can"1650);

Inventory_Add(playerid"Crowbar"18634);

Inventory_Add(playerid"Boombox"2226);

Inventory_Add(playerid"Mask"19036);

Inventory_Add(playerid"First Aid"1580);

Inventory_Add(playerid"Repair Kit"920);

Inventory_Add(playerid"NOS Canister"1010);

Inventory_Add(playerid"Frozen Pizza"2814);

Inventory_Add(playerid"Frozen Burger"2768);

Inventory_Add(playerid"Ammo Cartridge"2358);

Inventory_Add(playerid"Armored Vest"19142);

Inventory_Add(playerid"Empty Bottle"1484);

Inventory_Add(playerid"Cardboard"928);

Inventory_Add(playerid"Chicken"2663);

Inventory_Add(playerid"Portable Radio"18868);

return 
1;