Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 352 online users. » 1 Member(s) | 349 Guest(s) Bing, Google, Yaaruu
|
Latest Threads |
Not receiving damage when...
Forum: Pawn Scripting
Last Post: carl_anderson
6 hours ago
» Replies: 9
» Views: 172
|
Anyone a Idea how i make ...
Forum: Pawn Scripting
Last Post: carl_anderson
Yesterday, 02:21 PM
» Replies: 1
» Views: 21
|
[Work in progress] TextDr...
Forum: Releases
Last Post: puschkin420
Yesterday, 11:41 AM
» Replies: 2
» Views: 1,544
|
Setdynamicobjectrot
Forum: Tutorials
Last Post: carl_anderson
Yesterday, 09:47 AM
» Replies: 1
» Views: 209
|
That War Server
Forum: Advertisements
Last Post: Tszng
Yesterday, 12:58 AM
» Replies: 1
» Views: 233
|
Please help me out with a...
Forum: Pawn Scripting
Last Post: carl_anderson
2024-05-04, 10:07 AM
» Replies: 3
» Views: 66
|
[ENG]Futuristic Gaming Ro...
Forum: Advertisements
Last Post: roncohen159753
2024-05-04, 06:46 AM
» Replies: 1
» Views: 128
|
Bulgarian / Български
Forum: Other
Last Post: Kukata
2024-05-03, 05:55 PM
» Replies: 1
» Views: 301
|
How do I add a MetaMask e...
Forum: Questions and Suggestions
Last Post: loverrhoan85
2024-05-03, 10:21 AM
» Replies: 0
» Views: 25
|
Return to get dissertatio...
Forum: Tech
Last Post: haya.zaah
2024-05-03, 08:03 AM
» Replies: 1
» Views: 88
|
|
|
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?
|
|
|
Free Host |
Posted by: Rishi - 2024-03-14, 12:19 PM - Forum: Hindi/Urdu
- No Replies
|
|
1. **Join Our Discord**: Click the invite link and join our Discord server. https://discord.gg/Q8Aewd82TT
2. **Create a Ticket**: Head to the "Tickets" section and create a new ticket.
3. **Tag a Staff Member**: Mention any staff member to claim your free Open-MP server with specs: 2GB RAM, 100CPU, 1 PHPMyAdmin database, and anti-DDoS protection.
4. **Get Playing**: Once verified, your server will be set up, and you can start gaming!
|
|
|
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]
|
|
|
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
- Replies (1)
|
|
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
|
|
|
|