| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,777
» Latest member: Centnodes
» Forum threads: 2,375
» Forum posts: 12,338
Full Statistics
|
| Online Users |
There are currently 222 online users. » 0 Member(s) | 218 Guest(s) Bing, Google, Twitter
|
| Latest Threads |
LiveDialogs.inc
Forum: Libraries
Last Post: vawylon
9 hours ago
» Replies: 0
» Views: 24
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
Yesterday, 06:55 PM
» Replies: 5
» Views: 146
|
fdjykiti
Forum: Releases
Last Post: todpis
Yesterday, 05:57 AM
» Replies: 0
» Views: 29
|
sherfhreu
Forum: Pawn Scripting
Last Post: todpis
Yesterday, 05:55 AM
» Replies: 0
» Views: 25
|
asgfhffh
Forum: Questions and Suggestions
Last Post: todpis
Yesterday, 05:54 AM
» Replies: 0
» Views: 28
|
Awakeninga an old server.
Forum: Support
Last Post: Polecalex
2025-12-17, 11:33 PM
» Replies: 1
» Views: 179
|
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: Polecalex
2025-12-17, 12:57 AM
» Replies: 0
» Views: 53
|
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: hiago.sucesso.hs
2025-12-16, 03:40 PM
» Replies: 1
» Views: 178
|
Is there a WebSocket plug...
Forum: General Discussions
Last Post: hiago.sucesso.hs
2025-12-16, 03:37 PM
» Replies: 0
» Views: 26
|
What would you start?
Forum: Life
Last Post: HELLHOUND
2025-12-14, 10:32 PM
» Replies: 5
» Views: 10,318
|
|
|
| Getting back to pawn scripting |
|
Posted by: Lemon Milk - 2024-03-20, 06:04 PM - Forum: Questions and Suggestions
- Replies (1)
|
 |
Hello!
So I've been trying to get back into scripting after some time and imediatelly I ran across an issue of plugins not being compatible with the new open.mp world. Can anyone give me a brief oversight at how to install all the necessary stuff so there won't be any errors in compiler etc.
Thanks in advance!
|
|
|
|
| ENB |
|
Posted by: Leksa - 2024-03-19, 01:13 PM - Forum: Support
- No Replies
|
 |
Hello, does anyone have any kinda ENB for r2
i am bit lazy too look so if someone using it and wanna share please do it haha
|
|
|
|
| ZZZZ |
|
Posted by: Leksa - 2024-03-19, 02:08 AM - Forum: Ex-Yu
- Replies (2)
|
 |
Sta je ovo ljudi jeste pomrli di ste sa se radi ???
Dajte malo zivnite
|
|
|
|
| Can't locate game directory |
|
Posted by: PandaOG04 - 2024-03-18, 12:52 AM - Forum: Support
- Replies (1)
|
 |
Hey! I'm new and when I launch sa-mp installer and locate my game, the accept button isn't lit. I tried to use the gtasa patch to downgrade it but the same issue pursued there aswell. Any tips?
|
|
|
|
| Setdynamicobjectrot |
|
Posted by: artajuni63 - 2024-03-17, 10:43 AM - Forum: Tutorials
- Replies (1)
|
 |
Can someone help me? I want to change the rz ry rz object using setdynamicobjectrot but in the game the object won't move, where is my mistake?
|
|
|
|
| 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?
|
|
|
|
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!
|
|
|
|
| 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
|
|
|
|
|