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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,508
» Latest member: filipmarkoski2
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

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

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 30
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 31
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 51
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 453
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 50
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 68
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 59
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 456
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,464
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,906

 
Lightbulb Santorini OMP
Posted by: defakuto - 2024-03-15, 11:09 PM - Forum: Gamemodes - Replies (2)

Name: Santorini OMP
Source: from scratch
Pictureshttps://imgur.com/a/lsUNVm5
Video: //
Download Link: https://github.com/defakuto/santorini_omp
Credits: defakuto
Additional: Gamemode is completely done in open.mp, it is modular, open-source, it is actively being worked on.


  PAWN error 028
Posted by: ironsolari - 2024-03-15, 01:37 PM - Forum: Pawn Scripting - Replies (7)

Hi,

I'm trying to build a filterscript into my gamemode, and I'm facing these 4 errors:

Code:
(3762) :error 028: invalid subscript (not an array or too many subscripts): "PlayerData"
(3762) : warning 215: expression has no effect
(3762) : error 001: expected token: ";", but found "]"
(3762) : error 029: invalid expression, assumed zero
(3762) : fatal error 107: too many error messages on one line

Line 3762 is:
Code:
PlayerData[ playerid ][ pUpdateTime ] = SetTimerEx("UpdatePaddy",TIME_UPDATEPADDY,1,"i", playerid);

And these are the enums:
Code:
enum fj
{
pPaddyUsed[MAX_PADDYS] = 0,
pPaddyObject[MAX_PADDYS],
pPaddyProgress[MAX_PADDYS],
pPaddyFillWater[MAX_PADDYS],
Float:pPaddyPosX[MAX_PADDYS],
Float:pPaddyPosY[MAX_PADDYS],
Float:pPaddyPosZ[MAX_PADDYS],
Text3D:pPaddyText[MAX_PADDYS],
/////////////////////////////
pPaddyHarvestUsed[MAX_PADDYS],
pPaddyHarvestObject[MAX_PADDYS],
Float:pPaddyHarvestPosX[MAX_PADDYS],
Float:pPaddyHarvestPosY[MAX_PADDYS],
Float:pPaddyHarvestPosZ[MAX_PADDYS],
Text3D:pPaddyHarvestText[MAX_PADDYS],
/////////////////////////////
pHasHireVehicle,
pVehicleHire,
pTrailerVehicleHire,
pPaddyInTrailer,
Text3D:pTrailerText,
////////////////////////////
pPaddyHarvestInVehicle,
pPaddyHarvestInVehicleObject[5],
////////////////////////////
pUpdateTime,
}

Code:
enum            PlayerData          {

PlayerPassword[ MAX_PASS_LEN ],

PlayerAdmin,
PlayerAdminName[ MAX_PLAYER_NAME ],

PlayerAge,
PlayerGender,

PlayerSkin,
PlayerMoney,
PlayerPhoneNumber,

PlayerBankMoney,
PlayerBankNumber,

PlayerJob,
PlayerFraction,
PlayerFractionRank[ MAX_PLAYER_NAME ],

PlayerKLicense,
PlayerFLicense,

PlayerLPenalty,
PlayerTicket,

PlayerHouseKey,
PlayerVehicleKey,

PlayerBiz,
    PlayerTogReports,
    PlayerVBiz,

PlayerPHour,
PlayerPMinute,
PlayerPSecond,

PlayerWarn,
PlayerBaned,
PlayerJailTime,

Float: PlayerLastX,
Float: PlayerLastY,
Float: PlayerLastZ,
Float: PlayerLastA,

PlayerLastVWorld,
PlayerLastInterior,

WeaponStick,
WeaponKnife,

WeaponColt,
WeaponDeagle,

WeaponShotgun,
WeaponRifle,

bool: NewPlayer,

ClickedPlayer,

UsedItemName[ 128 ],
UsedItemAmount,

Float: PlayerHunger,
Float: PlayerThirst
};

new    PlayerInfo[ MAX_PLAYERS ][ PlayerData ];
Code:
function UpdatePaddy(playerid)
{
for(new i =0;i<MAX_PADDYS;i++)
{
    if(PlayerInfo[playerid][pPaddyUsed][i] == 1)
    {
        if(PlayerInfo[playerid][pPaddyProgress][i] < 100)
{
    /*if(PlayerInfo[playerid][pPaddyProgress][i] > 50)
{
    if(PlayerInfo[playerid][pPaddyFillWater][i] == 0)
    {
    new string[128];
    format(string,sizeof(string),"Paddy Owner %s\nSlot %d\nProgress :%d\nNEED WATER",GetName(playerid),i,PlayerInfo[playerid][pPaddyProgress][i]);
    UpdateDynamic3DTextLabelText(PlayerInfo[playerid][pPaddyText][i],-1,string);
    return 1;
    }
}*/
    PlayerInfo[playerid][pPaddyProgress][i] += 1;
if(PlayerInfo[playerid][pPaddyProgress][i] == 100)
{
new Float:x,Float:y,Float:z;
GetDynamicObjectPos(PlayerInfo[playerid][pPaddyObject][i],x,y,z);
SetDynamicObjectMaterial(PlayerInfo[playerid][pPaddyObject][i], 2, 862, "gta_procdesert", "sm_Agave_bloom");
// MoveDynamicObject(PlayerInfo[playerid][pPaddyObject][i],x,y,z+1,2);
DestroyDynamic3DTextLabel(PlayerInfo[playerid][pPaddyText][i]);
PlayerInfo[playerid][pPaddyText][i]=CreateDynamic3DTextLabel("",-1,x,y,z+2,5.0);
}
new string[128];
    format(string,sizeof(string),"Ültetvény\n %d%",PlayerInfo[playerid][pPaddyProgress][i]);
    UpdateDynamic3DTextLabelText(PlayerInfo[playerid][pPaddyText][i],-1,string);
    if(PlayerInfo[playerid][pPaddyProgress][i] == 100)
{
format(string,sizeof(string),"Ültetvény\n %d%",PlayerInfo[playerid][pPaddyProgress][i]);
    UpdateDynamic3DTextLabelText(PlayerInfo[playerid][pPaddyText][i],-1,string);
}
}
    }
}
return 1;
}

What am I doing wrong?


  Reborn Reality - Roleplay [RR-RP.com] (Inspired by LS-RP & PR-RP)
Posted by: Baldne55 - 2024-03-13, 10:57 PM - Forum: Advertisements - No Replies

🌐 Inspiration:
Founded in 2016 and recently revived, RR-RP is inspired by LS-RP and PR-RP, offering a unique roleplay legacy.

💰 Community and Rewards:
Self-funded without monetization. Earn "Coyn" currency and premium memberships through community rewards:
- Inviting new players
- Community-voted roleplayer/faction of the week

⭐ Seeking Mappers, Modders, and Enthusiasts:
If you're an experienced mapper or modder passionate about aligning with GTA SA lore, we want to hear from you! Open to collaborations with dedicated users and potential staff. Reach out to community management to discuss your ideas.

⭐ Key Features:
- Account System: Play with multiple characters, unlock more through community rewards!
- Inventory System: Manage items for characters, houses, and vehicles.
- Phone System: Call/SMS logs, multiple phones, disposable burners and signal towers for creative roleplay.
- Vehicles System: Privately/faction-owned with various functions.
- Drug World: Explore, produce drugs, and experience effects.
- Illegal Industries: Obtain materials for labs and more.
- Boombox System: Custom audio and radio for players.
- Casino Games: Texas Hold'em, Blackjack, and Slots.
- Custom Animation System: Create and name custom animations through libraries.
- Ad Services: With our Advertising system, post ads for a short time or multiple hours.
- Taxes System: Government can dynamically change taxes & funds LSPD and LSFD.
- Properties System: Rent, sell, or own properties.
- Jobs: Truckers, fishing, and more!
- ...and many other systems.

🚀 Server Launch Preparation:
Expected by the end of the next working week. Get ready for an immersive and unforgettable experience!

⭐ Credits:
Developed by Frex for the Italian LS-RP community, enhanced by Baldne55.

# 🤝 Join us on Discord for an unforgettable adventure & create your Discord invites to earn rewards! https://discord.com/invite/PQdUjvQPjj
[url=https://discord.com/invite/PQdUjvQPjj][/url]

[Image: BYTdBTg.png]
[Image: HoZNqHt.png]
[Image: OmvUXmk.png]
[Image: icqsTFp.png]
[Image: 5mtvGhR.png]
[Image: plw9SXs.png]
[Image: oGOQkV4.png]
[Image: DJRTVkm.png]
[Image: 3HNS38S.png]
[Image: t8zjgvB.png]
[Image: lIuTWX1.png]


Information Modular files in open-mp
Posted by: Diihrox - 2024-03-12, 03:14 AM - Forum: Questions and Suggestions - Replies (1)

Good morning/afternoon/evening community.

I need help regarding modularization with the [Open.mp Server] files that come when downloaded from [sa-mp.mp/downloads]. When I do the tests on localhost it works normally, but when I uploaded it to the host, it didn't turn on the server.

Do I need to have any extra configuration to resolve this?
Help me please. Thank you for your attention!


  GameParty DM
Posted by: GPCServ - 2024-03-11, 06:01 PM - Forum: Advertisements - No Replies

IP: 91.224.117.66:7777

The server has its own gamemod. Gamemod is optimized and can withstand over
500 players. The map has its own dynamic systems. Password house system,
estate system, gang system and the like. The best advantage of the map
is the EXP system, the more it, the higher the level, the higher the
level, the better the weapons. The map is updated daily, bugfixes and
additions are added to improve the GAME.

The server is one of the better servers.

The server has its own AntiCheat, its most important advantages:
- Anti WeaponCheat(A very advanced system).
- Anti MoneyCheat.
- Anti Jetpack.
- Anti AirBreak.

Funs:
/sh - The seeker looks for the hiders.
/vg - Gang wars.
/zv - Car races.
/aa - Minigun fight.
/os - One shot, one kill.
/sm - Pushing each other with monsters.
/dr - Pushing each other with cars.
/st - Shooting range
/ctf - Collecting flags

Objects:
/kulicky /baze /baze2 /armada /prace /sidliste1-8
/kart /stunt /party /kosikova /baze3
/kostel /vyskok /circuit /drift /speed /mustek
/ostrov /park /bahno /jeskyne /svatyne /building
/jeviste /nrg /island /bazen /chilliad /ves /plazels

Others:
/arena - Minigun fight
/onede - Battle on the Desert Eagle


  Help me with this cmd
Posted by: julees - 2024-03-10, 02:05 AM - Forum: Pawn Scripting - Replies (2)

Hi all! i hava problem to make this... 
I have this godcar system and a command to flat the wheels, I want that when the godcar is activated the wheels continue to flat when it self-repairs but can't get it to work

CMD:godcar(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_RED, "You need to be the driver!");
if(Active[playerid] == 1)
{
SendClientMessage(playerid, COLOR_RED, "Godcar already enabled!");
return 1;
}
TimeFix = SetTimerEx("Fix", 200, true, "i", playerid);
SendClientMessage(playerid, COLOR_WHITE, "Godcar enabled!");
Activado[playerid] =1;
return 1;
}


and this the cmd for the flat wheels

CMD:tires(playerid, params[])
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, COLOR_RED, "You need to be the driver!");
{
new panels, doors, lights, tires;
new vehicleid = GetPlayerVehicleID(playerid);
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, 5);
}
return 1;
}

 
ty for help :D


  SA-MP Spells System
Posted by: itayuss - 2024-03-10, 01:03 AM - Forum: Programming - Replies (1)

[Video: https://www.dailymotion.com/video/k76JONbZ1HSnt1AbR22]

SA-MP Spells System by me


  SA-MP - Skill system
Posted by: itayuss - 2024-03-10, 12:50 AM - Forum: Programming - No Replies

[Video: https://www.dailymotion.com/video/k57wkZoRWV7EzvAaaOs]


Skill system by me


  SA-MP - Mystery box system
Posted by: itayuss - 2024-03-10, 12:48 AM - Forum: Programming - No Replies

[Video: https://www.dailymotion.com/video/k4qMRa83eSmpwoAaaNa]


Mystery Box System opening by me


  Handling.cfg
Posted by: SROmaRSallaKH - 2024-03-09, 06:31 PM - Forum: Support - No Replies

Hello, I have been facing this problem for a very long time, I am trying to modify handling.cfg by many ways and none of them work, I need to know why when I change values in handling.cfg nothing changes at all.