Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 273 online users. » 1 Member(s) | 269 Guest(s) Bing, Google, Applebot, marcoslopez6908
|
|
|
GTA SA remastered |
Posted by: NoxxeR - 2021-10-09, 08:12 AM - Forum: Chat
- Replies (6)
|
 |
Anybody seen the videos of GTA SA Remastered? Rockstar games is gonna release a new GTA SA version, with new engine and stuff.
https://www.youtube.com/watch?v=v9FWmcY6xsg
Do you guys know if it will be playable online? Will someone make a modification for it? Would been awesome, GTA SA Remastered will be fun ;)
|
|
|
Simple AFK system |
Posted by: Flofey - 2021-10-08, 06:56 PM - Forum: Filterscripts
- Replies (2)
|
 |
AFK Filterscript
Simple AFK filterscript system includes 2 commands, and yes right it would be nice if it was made only with one command
but it's made for beginner so they can understand the code.
What with this script?
This script is made of two commands
- /afk - gets you away from keyboard by freezing the player, so he cannot move or get damaged while he's away also there'll be 3D text label above the player's head labeling (AFK).
- /back - gets the player back with his movements and everything as normal.
Recommended files
credits to Zeex for the amazing ZCMD.
Waiting for your responds fellas.
|
|
|
Loop skipping (Creating only odd numbers) |
Posted by: Cherry. - 2021-10-06, 02:41 AM - Forum: Support
- Replies (3)
|
 |
Hey.
I have a command of creating houses.
The loop is creating houses just like 1,3,5,7,9,11..etc.
I tried to investigate the problem in the loop and I can't see anything wrong.
Somebody?knows? Here's the code..
Code: COMMAND:housecreate(playerid, params[])
{
new houseid, price, Float:X, Float:Y, Float:Z, UID, text[128];
if(sscanf(params,"ii",houseid, price)) return usage(playerid, "USAGE: /HouseCreate [Class] [Value]");
if(houseid < 1 || houseid > 4) return error(playerid, "Invalid house ID.");
new found = 0;
for(new i = 1; i < MAX_HOUSES; i)
{
if(HouseInfo[i][hID] == 0 && found == 0)
{
? ? found;
? ? UID = i;
format(text, sizeof(text), "House id is %d", UID);
SendClientMessage(playerid, -1, text);
}
}
new count = 0;
for(new i = 0; i < sizeof(HouseCoordinates); i)
{
? ? if(count == 0)
? ? {
? ? ? ? if(HouseCoordinates[i][Class] == houseid)
? ? ? ? {
? ? ? ? count;
HouseInfo[UID][hXi] = HouseCoordinates[i][mbX];
HouseInfo[UID][hYi] = HouseCoordinates[i][mbY];
HouseInfo[UID][hZi] = HouseCoordinates[i][mbZ];
HouseInfo[UID][hIntIn] = HouseCoordinates[i][HouseInt];
}
}
}
HouseInfo[UID][hID] = UID;
HouseInfo[UID][hValue] = price;
HouseInfo[UID][hClass] = houseid;
HouseInfo[UID][hIntOut] = GetPlayerInterior(playerid);
HouseInfo[UID][hVwOut] = GetPlayerVirtualWorld(playerid);
HouseInfo[UID][hVwIn] = MAX_INTS UID;
GetPlayerPos(playerid, X, Y, Z);
HouseInfo[UID][hXo] = X;
HouseInfo[UID][hYo] = Y;
HouseInfo[UID][hZo] = Z;
new query[516], owner[25];
format(owner, sizeof(owner), "None");
mysql_format(handlesql, query, sizeof(query),"INSERT INTO `houses`(`ID`, `Xo`, `Yo`, `Zo`, `Xi`, `Yi`, `Zi`, `IntOut`, `IntIn`, `VwOut`, `Owner`, `Value`) VALUES (%d, %f, %f, %f, %f, %f, %f, %d, %d, %d, '%e', %d)",
UID, X, Y, Z, HouseInfo[UID][hXi], HouseInfo[UID][hYi], HouseInfo[UID][hZi], HouseInfo[UID][hIntOut], HouseInfo[UID][hIntIn], HouseInfo[UID][hVwOut],
owner, price);
mysql_pquery(handlesql, query);
HouseInfo[UID][hIcon] = CreateDynamicCP(HouseInfo[UID][hXo], HouseInfo[UID][hYo], HouseInfo[UID][hZo], 1.5, HouseInfo[UID][hVwOut], -1, -1, 20.0);
HouseInfo[UID][hIconi] = CreateDynamicCP(HouseInfo[UID][hXi], HouseInfo[UID][hYi], HouseInfo[UID][hZi], 1.5, HouseInfo[UID][hVwIn], -1, -1, 20.0);
UpdateHouseText(UID);
Iter_Add(HouseIterator, UID);
return 1;
}
|
|
|
Write plugins |
Posted by: Paulthas01 - 2021-10-02, 01:28 PM - Forum: Support
- No Replies
|
 |
Existe um post local falando sobre como escrever plug-ins para o samp?
|
|
|
Project |
Posted by: offr0ad - 2021-10-02, 12:32 PM - Forum: General Discussions
- Replies (2)
|
 |
How far is open.mp from launch?
Currently it seems like there isn't any userbase at all and even the biggest names in samp scene have closed their servers.
|
|
|
open.RP - open-sourced RolePlay GameMode |
Posted by: Logan - 2021-09-29, 03:34 PM - Forum: Gamemodes
- No Replies
|
 |
open.RP?GitHub repository
Gamemode is 10% translated from ex-Yu(Croatian, Serbian, Bosnian), database is normalized with Codd standards, statements are completely rewritten(there are few old mysql_query left), it uses sampctl, and it has only 2 legacy libraries left.?
It consists of modules, the structure is very well palpable from main.pwn
It has many unique systems such as inactive account checkup(checks if user has less than (5 or?10, don't remember exactly) hours of play per month, or if user hasn't logged in for a month, and it strips him from houses, apartments, businesses, and complexes.?
Also, it has 2 basketball courts with basketball feature, it counts 2 or 3 points per score, depending on the distance you shot from.
Pretty much everything is very dynamic: houses, garages, businesses, vehicles; and admin commands are flawlessly developed.?
Flaws: you have to translate the gamemode to English, you need to implement anticheat(I recommend something like nexAC, that you can just use as a sampctl package and callback on your own will)
It also has amazing feature of EXP's that I personally developed: you get to give 1 EXP point to other player after 2 hours of gameplay. The other player had to receive at least one payday to be able to receive EXP point. On regular play mode, you get to give just one per day, if Happy Hours are activated: every 2 hours. You can buy various perks InGame with EXP such as: level up, unlimited furniture slots and very rich VIP packages.
It has a ton of useful systems: Admin System and all systems related to it(ban, ipban, accounts to IP, etc), Vehicle System(Buying a vehicle in car ownership, dynamic amount of slots for weapons & drugs, depending on the model of the vehicle), GPS, Advertisement System, Business & House?Furniture(both interior and exterior) system,?everything and beyond for law enforcement factions, very good drug system, weapons system and MANY MANY more of it.?
Some of the videos from the older version of gamemode?
I don't have time anymore to contribute to the project, and it would be a darn shame for such a legendary gamemode to rot or gets forgotten. If you're interesting on taking the project over, please don't hesitate to contact me on PM.
|
|
|
Can't see objects from distance. |
Posted by: Cherry. - 2021-09-22, 01:46 AM - Forum: Support
- Replies (2)
|
 |
Hello.
I have an issue with my server, Players can't see objects from distance, they must be SO close to them.
Tried the entire versions of streamer and still the same issue...
What can be the issue except of streamer?
|
|
|
Migracija foruma |
Posted by: daddy. - 2021-09-19, 07:41 PM - Forum: Ex-Yu
- Replies (9)
|
 |
Izgleda da je migracija foruma uspje?no izvr?ena.
Javite nam?ukoliko naidete na bilo koji problem.
(prevedena poruka od Southclaws-a)
|
|
|
|