Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 274 online users. » 0 Member(s) | 271 Guest(s) Internet Archive, Bing, Google
|
Latest Threads |
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
Yesterday, 09:17 PM
» Replies: 7
» Views: 8,340
|
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 20
|
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,338
|
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 121
|
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 36
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,676
|
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 53
|
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 35
|
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 114
|
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 74
|
|
|
?????? ?????????? ???????? ?????? ? 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.
|
|
|
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.
|
|
|
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.
|
|
|
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]](https://i.imgur.com/KgyRiy0.png)
What the Inventory Normally looks like
![[Image: Hgzo75p.png]](https://i.imgur.com/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(playerid, items[], size = sizeof(items))
{
new Float:x = 123.5, Float:y = 150.0, page[64];
format(page, sizeof(page), "Inventory - Page 1/%d", (size / MAX_ITEMS_VISIBLE) 1);
// background
for(new i = 0; i <= 2; i) TextDrawShowForPlayer(playerid, inv_interactive_box[i]);
// buttons (use, drop, give)
for(new i = 0; i <= 2; i) TextDrawShowForPlayer(playerid, inv_interactive_button[i]);
// previous & next buttons
TextDrawShowForPlayer(playerid, inv_interactive_nextprev[0]);
TextDrawShowForPlayer(playerid, inv_interactive_nextprev[1]);
// create player textdraw inventories
// header
player_inv_header[playerid] = CreatePlayerTextDraw(playerid, 321.000000, 128.000000, page);
PlayerTextDrawFont(playerid, player_inv_header[playerid], 2);
PlayerTextDrawLetterSize(playerid, player_inv_header[playerid], 0.254166, 1.350000);
PlayerTextDrawTextSize(playerid, player_inv_header[playerid], 400.000000, 272.500000);
PlayerTextDrawSetOutline(playerid, player_inv_header[playerid], 1);
PlayerTextDrawSetShadow(playerid, player_inv_header[playerid], 0);
PlayerTextDrawAlignment(playerid, player_inv_header[playerid], 2);
PlayerTextDrawColor(playerid, player_inv_header[playerid], -1);
PlayerTextDrawBackgroundColor(playerid, player_inv_header[playerid], 255);
PlayerTextDrawBoxColor(playerid, player_inv_header[playerid], 1296911806);
PlayerTextDrawUseBox(playerid, player_inv_header[playerid], 1);
PlayerTextDrawSetProportional(playerid, player_inv_header[playerid], 1);
PlayerTextDrawSetSelectable(playerid, player_inv_header[playerid], 0);
// inventory items
for (new i = 0, idx = 0; i != MAX_INVENTORY_ITEMS; i )
{
if(i >= 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 (i < MAX_ITEMS_VISIBLE)
{
if (idx > 0 && (idx % MAX_ITEMS_PER_COL) == 0)
{
x = 189.0;
y = 74.0;
}
else
{
x = 66.0;
}
idx;
? ? ? ? if (i < MAX_ITEMS_VISIBLE && items[i] != -1)
{
? ? player_inv_model[playerid][i] = CreatePlayerTextDraw(playerid, x, y, "_");
PlayerTextDrawFont(playerid, player_inv_model[playerid][i], 5);
PlayerTextDrawLetterSize(playerid, player_inv_model[playerid][i], 0.600000, 2.000000);
PlayerTextDrawTextSize(playerid, player_inv_model[playerid][i], 62.000000, 69.000000);
PlayerTextDrawSetOutline(playerid, player_inv_model[playerid][i], 1);
PlayerTextDrawSetShadow(playerid, player_inv_model[playerid][i], 0);
PlayerTextDrawAlignment(playerid, player_inv_model[playerid][i], 1);
PlayerTextDrawColor(playerid, player_inv_model[playerid][i], -1);
PlayerTextDrawBackgroundColor(playerid, player_inv_model[playerid][i], 255);
PlayerTextDrawBoxColor(playerid, player_inv_model[playerid][i], 50);
PlayerTextDrawUseBox(playerid, player_inv_model[playerid][i], 0);
PlayerTextDrawSetProportional(playerid, player_inv_model[playerid][i], 1);
PlayerTextDrawSetSelectable(playerid, player_inv_model[playerid][i], 1);
PlayerTextDrawSetPreviewModel(playerid, player_inv_model[playerid][i], items[i]);
PlayerTextDrawSetPreviewRot(playerid, player_inv_model[playerid][i], 0.000000, 0.000000, 0.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, player_inv_model[playerid][i], 1, 1);
}
}
}
}
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(playerid, player_inv_header[playerid]);
for(new i = 0; i < MAX_ITEMS_VISIBLE; i) PlayerTextDrawShow(playerid, player_inv_model[playerid][i]);
SelectTextDraw(playerid, 0x33AA33FF);
return 1;
}
stock ShowPlayerInventory(playerid)
{
if((0 <= playerid < MAX_PLAYERS) || IsPlayerConnected(playerid)) // prevent ID spoof.
{
new items[44] = {-1, ...}, count;
for (new i = 0; i < 44; i )
{
if (InventoryData[playerid][i][invExists]) {
items[i] = InventoryData[playerid][i][invModel];
count ;
}
}
if(count >= 1)
ShowInventoryTextDrawToPlayer(playerid, items, sizeof(items));
else
SendClientMessage(playerid, -1, "You do not have anything in your inventory.");
}
return 1;
}
CMD:demo2(playerid, params[])
{
Inventory_Remove(playerid, "Cocaine");
return 1;
}
CMD:demo(playerid, params[])
{
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;
}
|
|
|
Battlefields - TDM (Team Deathmatch) |
Posted by: [SF]kAn3 - 2021-10-18, 07:10 AM - Forum: Gamemodes
- Replies (2)
|
 |
Hello.
This is a TDM gamemode, so basically a PVP gamemode where players join a team and fight against other teams, and that's one of my projects I am NOT working on anymore.
So I am sharing the source code, do whatever you like with it!
Since I am not working on it anymore, I won't update the code, so please don't ask me anything about that!
Here I will add some short description:
There are several teams in war with each other. Teams have to conquer zones scattered all over the map, some of them are bonus zones that give different bonuses to the team that's controlling it.
Players have to choose classes, each class has its own abilities.
There's a bayonet system, some weapons have on them a knife, and you can stab foes with it for an insta-kill.
And there's more, you can find that trying the gamemode.
I don't have the plugins needed to run the gamemode, sorry about that!
Here I will post some videos:
https://www.youtube.com/watch?v=0c5HPd4-_Sg
https://www.youtube.com/watch?v=IMvi8aVbB6A
https://www.youtube.com/watch?v=2u8W1PWPCCQ
Download .pwn file
|
|
|
Discordia - PvP & PvE (Player Vs Player, Player Vs Environment) |
Posted by: [SF]kAn3 - 2021-10-18, 06:58 AM - Forum: Gamemodes
- No Replies
|
 |
Hello.
As the subject says, this is a gamemode I was working on during my free time.
I've decided to share it with anyone who's interested in working on it, I really liked how it was going to be, maybe some of you will give it a real life!
This gamemode is focused on PVP and PVE, taking place in a fictionary world, where players need to strive to survive, building their camp, fighting NPCs and other players, join/fight clans, build your player and levelup, scavenge the world for resources, food, water, weapons and so on.
I am NOT going to update this, things may change, but as for now I won't touch the code anymore ever, so don't ask me anything and feel free to do what you like with it!
Also, you will have to find all the needed plugins, I don't have them anymore!
Here I will post some videos:
https://www.youtube.com/watch?v=cV80d_jEk1M
https://www.youtube.com/watch?v=Sf_QxC3In9A
Download .pwn file
|
|
|
|