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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,495
» Latest member: luizluiz2520
» Forum threads: 2,412
» Forum posts: 12,359

Full Statistics

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

Latest Threads
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
10 hours ago
» Replies: 0
» Views: 36
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
Yesterday, 02:16 PM
» Replies: 1
» Views: 63
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 51
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 191
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 275
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 330
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 330
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 138
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 229
Not relevant anymore
Forum: Questions and Suggestions
Last Post: peti
2025-09-05, 02:00 PM
» Replies: 0
» Views: 187

 
  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.


  SA-MP Server crashes
Posted by: LevanBedinashvili - 2024-03-08, 05:29 PM - Forum: Pawn Scripting - Replies (4)

Hello. 
I got low-rp server in georgia. I got 80-150 players every day but i run into this problem everyday for 5-6 times.
My server crashes due this error. 

[20:29:44] [debug] Server crashed while executing new.amx
[20:29:44] [debug] AMX backtrace:
[20:29:44] [debug] #0 00000072 in ?? (105, 99, 111, 100, 101, 32, 109, 97, 105, 110, ... <17 more arguments>) at D:\Genuine Project\pawno\include\float.inc:112
[20:29:44] [debug] #1 00000072 in main () at D:\Genuine Project\pawno\include\float.inc:112



I don't know what to do. Help me, i'm hopeless...

my discord ID: #LevanBedinashvili#3247