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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,506
» Latest member: nohuvin
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

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

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
Yesterday, 06:36 PM
» Replies: 0
» Views: 28
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: 50
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 452
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 49
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 66
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,461
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,903

 
  Can't launch samp/open.mp servers
Posted by: iRhone - 2024-06-24, 04:39 AM - Forum: Support - Replies (3)

Hello,

Recently I have been trying to get back into playing sa-mp(AKA now open.mp) after so many years. It has always been at the back of my head and up until a couple days ago I tried searching for a reliable and safe download of the game but have come up short and no luck so I decided to purchase the game directly from Rockstar.

I have downloaded the sa-mp client and even open.mp and locate them to my folder containing gta_sa and each time I try launching a server it takes me directly to single player. I am out of options and don't know what I'm doing wrong. I am doing the same things I would do when I would install samp back in the days. Any help????

Thank you, 
Rhone


  .
Posted by: francocos1488 - 2024-06-23, 01:54 PM - Forum: Programaci?n - No Replies

123455


  Assembling a team Play
Posted by: blackwolf4278 - 2024-06-22, 05:22 PM - Forum: Advertisements - No Replies

178.63.13.143:18825 Here Rn waiting for someone to connect!

Try something new! RolePlay War

Its a role play genre, but only about war. Long story short, you register and choose a team, both teams are SF and LV fighting for LS Territory. There are civilian jobs, such as medics, firefighters and plant workers to make ammo and medical supplies and then there are the armies that fight each other.

For the now more zones a team has the more cash they make, thus they can buy more vehicles, jets, helicopters etc etc…..

But for now all the warehouses are full and everything, some features are disabled for easier play since there probably won’t be enough of people to fill all of the roles. Pretty much its just fighting, no need to make and move ammo, no need for medical supplies or to move and buy gasoline for vehicles


Discord: https://discord.gg/wHvEaGmK

I would love to actually assemble a team of at least 10 people so we can all assemble and play this mode sometimes 5v5 -> I think it would be a nice experience. 


  CraZy Stunt Freeroam Important to view!
Posted by: rolex - 2024-06-22, 01:13 PM - Forum: Advertisements - No Replies

Introduction 
CSF is SA-MP server based off stunt/race and freeroam, we also offer alot of a range of other things , including DM and CNR, we try our best to offer our players 
the best gaming experience in SA-MP, Our Script and maps are getting updated often, so who says San Andreas gets old? Join our community.
Features
Range of stunts, amazing maps created by our players!
Cops And Robbers minigame (/cnr)
Private vehicle Ownership.
Advanced housing system, access all house features via /housemenu.
Advanced racing system 
Advanced Dueling system, with player spectating.
Events including derby events on a daily basis!
Advanced Anti-Cheat System. Over 50 cheaters banned a day!
Advanced Challenges with epic rewards!
Advanced Discord System , everything on the server is displayed over Discord 
Range of awesome deathmatches, including TDM.
Achievement System with special prizes!
Bunch of awesome minigames, including Demolition Derby And Fallout!
Advanced Group System with many features.
Advanced MySQL system, All your data including personal settings are saved in our database!
Friendly user interface, you can access everything via the /help command.
Toy System - Attack a range of permanent objects, to your character.
Banking system. All your score and money are server-sided and accounted for!
Special bonus commands and features for VIP And Premium Members.
and much more!

Latest update!
[color=oklab(0.899401 -0.00192499 -0.00481987)]Advanced Cross-Platform Game & Discord layout with chat, notifications and admin commands.
Bug fixes (Score loss, group ranks, custom vehicles, custom spawn, more!)
Group System Revamp with many new features & commands. (Group shop, safe, headquarters, labels,.. - /group)
Money bag & Cookie jar locations have been set to fixed locations across the map, and are now easier to find!
Advanced Events System with different modes! (DM, TDM, Derby, ATP, Race,..) 
[/color]
Group Update

- Group War Rewards 

Winner groups in group wars are rewarded with score and points, the point can then used to buy items from the group shop.

- Group Safe

group cash and cookies , with ability to deposit/withdraw them accordingly from the same.

- Group Shop

Using group points, group leaders can buy cash, cookies, extra group labels or private group headquarters!

- Group Headquarters

Group headquarters with a map icon and interior of choice where group members can hang around!

-Weekly Prizes

Group with highest war wins  will be rewarded with points on weekly basis!

Introducing customizable group labels! 

- Purchase process

You can purchase group labels from group shop /gshop in exchange of group points.

- Deployment

You can deploy them accordingly throughout designated command and super user-friendly diaglogs!

- Customization 

You can freely configure your label text or positon as you please. However, your label color always matches your group color.


Introducing our new dynamic event system!

bored of the typical repeating events?! with new event system, admins will be able to create variety of events with different modes (DM, TDM, Race, Derby, and Avoid the plane) With unlimited ideas as the whole system is customizable! and at the same point, regular players will be able to create their own events as well! to go as creative as they can and keep everybody occupied!
[Image: QJU9nhp.png]
[Image: Jhr3ciH.png]
[Image: Jhr3ciH.png]
[Image: lRia9L9.png]
[Image: Qg4YjNl.png]
[Image: IJVMxgs.png]
[Image: Ry6bAwD.png]
[Image: OF2Zs7w.png]
[Image: tfzxUr7.png]
[Image: 21QS2F3.png]
[Image: 1Iwe2n3.png]

Discord server 

https://discord.gg/9EkewA5g



server ip if you'd like to test: 45.155.169.83:7777
we are searching for active and professional staff members! :)


  SWAT VS TERRORISTS TDM - We are hiring!
Posted by: Mido - 2024-06-19, 06:17 PM - Forum: Advertisements - No Replies

About us
SWAT VS TERRORISTS is a TDM SA-MP (San Andreas Multiplayer) server which was founded by Mido around 2015. As with any TDM server, SVT revolves around the classic TDM and combat experience, where you can choose your side. You can be the good guy and join the SWAT force team and fight against terrorism, or join the Terrorists team and help get rid of the police and SWAT.

Original script
Our new SVT script is being developed from the ground up, and I'm excited to share the journey with you. While it might be empty at the moment, I'm hard at work creating a unique and engaging experience. Our aim is to bring fresh, interactive features to an aging game, breathing new life into it and unlocking its potential and creating a more intuitive and enjoyable experience for everyone. Stay tuned for exciting updates!

Regular script updates
Our server is continuously evolving with regular updates that introduce new features, enhance existing ones, and address any issues. We deeply value player feedback and actively consider all suggestions to make our server better. You can report issues and share your ideas on our forums at https://midosvt.com/forum We have many exciting features planned for future updates, so stay connected with us on the forums and Discord for the latest news and announcements!

Server features
Here is an overview of the features you can find on SVT:
- Play as a terrorist, female or male police officer, SWAT, country sheriff and more
- Capture flag zones and increase the capture zone spree to earn money and increase your score
- Participate in events such as the ICRDM with many more events coming very soon
- Purchase weapons at your team base
- Purchase health and Medkit at your own team base
- Friendly and helpful admin system and admins to ensure rules are followed and players have fun
- Effective anti-cheat with false-positive prevention
- Ban appeal system, guaranteed appeal response within 24 hours
- Dedicated server host to minimize downtime and maximise efficiency
- Regular updates with all player feedback taken on board
- People can donate and get many unique features as a thank you. Click [here](https://midosvt.com/donate) to donate

Many more features are to be added in the upcoming weeks and months. Please help us with your suggestions.

Server information
SVT is still at its early stage. This means some features may not yet be fully developed
and some bugs/issues may occur. We rely on player feedback to help us identify and
resolve these problems and reward said players with cash/score in-game as gratitude.
We hope to see you on the server soon and hope you enjoy your experience playing SVT.

**Server IP:** play.midosvt.com:1111
**Server website:** https://midosvt.com
**Server forum:** https://midosvt.com/forum
**Server discord:** https://midosvt.com/discord

WE ARE HIRING
We are in desire need of reliable, trustworthy, competent, friendly and helpful moderator admins.

Please read more at https://midosvt.com/joinstaff

Regards,
Mido


  Can't join to my server.
Posted by: mrbyte - 2024-06-15, 01:56 PM - Forum: Pawn Scripting - Replies (3)

When I connect to my server, it always stuck to 'Connected, Joining the game...'. And then after a few seconds or minutes, the server closed the connection and kicked me. I started the server in localhost. I wonder what the issue is. Please help me.

My plugins are all loaded successfully and up to date also my includes.

My SA-MP is version 0.3.7-R5.

My Includes:
- a_mysql by pBlueG
- samp_bcrypt by Sreyas-Sreelal
- sscanf2 by Y_Less
- streamer by Incognito
- easyDialog by Emmet_
KZI by KowaZ
NH by BlackGreen
actor_robbery by PatrickGTR
discord-cmd by AkshayMohan
discord-connector by maddinat0r
samp-precise-timers by bmisiak
nex-ac by NexiusTailer
izcmd by YashasSamaga
YSI by Y_Less

My Plugins:
- a_mysql by pBlueG
samp_bcrypt by Sreyas-Sreelal
sscanf2 by Y_Less
- streamer by Incognito
discord-connector by maddinat0r
samp-precise-timers by bmisiak

Here's the console output (Nothing wrong in the console I guess?):

PHP Code:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[21:15:25filterscripts ""  (string)
[
21:15:25]
[
21:15:25Server Plugins
[21:15:25] --------------
[
21:15:25]  Loading pluginsamp_bcrypt
[21:15:25] [SampBcrypt] [info]: Version0.4.1
[21:15:25]  Loaded.
[
21:15:25]  Loading pluginsscanf
[21:15:25]
[
21:15:25]  ===============================
[
21:15:25]
[
21:15:25]      sscanf plugin loaded.   
[21:15:25]
[
21:15:25]          Version2.13.8
[21:15:25]
[
21:15:25]    (c2022 Alex "Y_Less" Cole 
[21:15:25]
[
21:15:25]  ===============================
[
21:15:25]
[
21:15:25]  Loaded.
[
21:15:25]  Loading pluginstreamer
[21:15:25]

*** 
Streamer Plugin v2.9.5 by Incognito loaded ***

[
21:15:25]  Loaded.
[
21:15:25]  Loading pluginmysql
[21:15:25]  >> plugin.mysqlR41-4 successfully loaded.
[
21:15:25]  Loaded.
[
21:15:25]  Loading plugindiscord-connector
[21:15:27]  >> plugin.dc-connectorv0.3.5 successfully loaded.
[
21:15:27]  Loaded.
[
21:15:27]  Loading pluginsamp-precise-timers
[21:15:27samp-precise-timers infosamp-precise-timers v3 (cBrian Misiak loaded correctly.
[
21:15:27]  Loaded.
[
21:15:27]  Loaded 6 plugins.

[
21:15:27]
[
21:15:27Ban list
[
21:15:27] --------
[
21:15:27]  Loadedsamp.ban
[21:15:27]
[
21:15:27]
[
21:15:27Filterscripts
[21:15:27] ---------------
[
21:15:27]  Loaded 0 filterscripts.

[
21:15:27] 
[21:15:27] --------------------------------------
[
21:15:27]  Anticheat Nex-AC loaded!
[
21:15:27]  Anticheat version1.9.64
[21:15:27]  AuthorNexius
[21:15:27] --------------------------------------

[
21:15:27] 
[21:15:27] 
[21:15:27]          ==============================================================
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          |    YYYYYYY      YYYYYYY    SSSSSSSSSSSSSSS  IIIIIIIIII    |
[
21:15:27]          |    Y:::::Y      Y:::::Y  SS:::::::::::::::S I::::::::I    |
[
21:15:27]          |    Y:::::Y      Y:::::Y S:::::SSSSSS::::::S I::::::::I    |
[
21:15:27]          |    Y::::::Y    Y::::::Y S:::::S    SSSSSSS II::::::II    |
[
21:15:27]          |    YYY:::::Y  Y:::::YYY S:::::S              I::::I      |
[
21:15:27]          |      Y:::::Y Y:::::Y    S:::::S              I::::I      |
[
21:15:27]          |        Y:::::Y:::::Y      S::::SSSS            I::::I      |
[
21:15:27]          |        Y:::::::::Y        SS::::::SSSSS      I::::I      |
[
21:15:27]          |          Y:::::::Y          SSS::::::::SS    I::::I      |
[
21:15:27]          |          Y:::::Y              SSSSSS::::S    I::::I      |
[
21:15:27]          |          Y:::::Y                    S:::::S  I::::I      |
[
21:15:27]          |          Y:::::Y                    S:::::S  I::::I      |
[
21:15:27]          |          Y:::::Y        SSSSSSS    S:::::S II::::::II    |
[
21:15:27]          |        YYYY:::::YYYY    S::::::SSSSSS:::::S I::::::::I    |
[
21:15:27]          |        Y:::::::::::Y    S:::::::::::::::SS  I::::::::I    |
[
21:15:27]          |        YYYYYYYYYYYYY      SSSSSSSSSSSSSSS    IIIIIIIIII    |
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          |                      (c2021 MPL v1.1                    |
[
21:15:27]          |            Alex "Y_Less" Cole and contributors.            |
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          ==============================================================
[
21:15:27] 
[21:15:27] 
[21:15:27]  ==========================================
[
21:15:27]  |                                        |
[
21:15:27]  |  Generating codethis may take a    |
[
21:15:27]  |  little bit of time.  Note that this  |
[
21:15:27]  |  code generation works best with the  |
[
21:15:27]  |    JIT pluginwhich you are not      |
[
21:15:27]  |    currently using.  Get it here:    |
[
21:15:27]  |                                        |
[
21:15:27]  |      https://git.io/jit-plugin        |
[21:15:27]  |                                        |
[
21:15:27]  |            Please wait...            |
[
21:15:27]  |                                        |
[
21:15:27]  |            Done in 53ms!              |
[
21:15:27]  |                                        |
[
21:15:27]  ==========================================
[
21:15:27]  Filterscript '../scriptfiles/callbackfix.amx' loaded.
[
21:15:27]  |                                        |
[
21:15:27]  Server:      0.3.7-R2 (W)              |
[
21:15:27]  Started:    15 Jun 2024 21:15:27    |
[
21:15:27]  |                                        |
[
21:15:27]  Compiler:    3.10.10 (Windows)        |
[
21:15:27]  Includes:    0.3DL                    |
[
21:15:27]  Codepage:    <none>                    |
[
21:15:27]  Built:      15 Jun 2024 21:15:17    |
[
21:15:27]  |                                        |
[
21:15:27]  YSI:        v05.10.0006              |
[
21:15:27]  Master:      -1                        |
[
21:15:27]  |                                        |
[
21:15:27]  JIT:        <none>                    |
[
21:15:27]  Crashdetect: <none>                    |
[
21:15:27]  |                                        |
[
21:15:27]  ==========================================
[
21:15:27] 
[21:15:27] 
[21:15:27] -> [MYSQL]: MySQL is successfully connected and all tables are created.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/bigjump.ini' has successfully loadedMap file initiated with '183' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/deathglobestunt.ini' has successfully loadedMap file initiated with '29' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/deathjump.ini' has successfully loadedMap file initiated with '109' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/desertairportstunt.ini' has successfully loadedMap file initiated with '191' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/drift.ini' has successfully loadedMap file initiated with '26' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/dropstunt.ini' has successfully loadedMap file initiated with '748' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/extremestuntersparks.ini' has successfully loadedMap file initiated with '463' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/f1stuntnova.ini' has successfully loadedMap file initiated with '697' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/glassmadness.ini' has successfully loadedMap file initiated with '138' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/halfpipe.ini' has successfully loadedMap file initiated with '48' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/kartingstunt.ini' has successfully loadedMap file initiated with '196' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/megajumpstunt.ini' has successfully loadedMap file initiated with '25' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/mountchilliadstunt.ini' has successfully loadedMap file initiated with '26' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/nrgbuildingstunt.ini' has successfully loadedMap file initiated with '70' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/pipejump.ini' has successfully loadedMap file initiated with '84' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/rallystunt.ini' has successfully loadedMap file initiated with '993' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/stuntcity.ini' has successfully loadedMap file initiated with '242' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/stuntpark.ini' has successfully loadedMap file initiated with '93' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/xsquarestunt.ini' has successfully loadedMap file initiated with '248' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/xtremestuntages.ini' has successfully loadedMap file initiated with '15' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/allsaints.ini' has successfully loadedMap file initiated with '59' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/mrbytemta.ini' has successfully loadedMap file initiated with '350' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/remakelscityhall.ini' has successfully loadedMap file initiated with '397' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/sftombbridge.ini' has successfully loadedMap file initiated with '1' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/sfwangcars.ini' has successfully loadedMap file initiated with '12' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/vicecity.ini' has successfully loadedMap file initiated with '1100' Objects.
[
21:15:27]
-> [
MAP]: Due to some problemthe 'WORTDM/maps/mta/viparea.ini' map file couldn't be loaded.
[21:15:27]
-> [CONFIG]: Server Configurations has been loaded successfully.
[21:15:27] -> Anti Spam: [Enabled]
[21:15:27] -> Anti Swear: [Enabled]
[21:15:27] -> Read Commands: [Enabled]
[21:15:27] -> Chat Disabled: [Disabled]
[21:15:27] -> Forbidden Name: [Enabled]
[21:15:27] -> Anti Advertisement: [Enabled]
[21:15:27] -> Read Private Messages: [Enabled]

[21:15:27] -> World Of RedTurbo'
| [0.3.7] | WORTDM RP [v1.0] <-

[
21:15:27Number of vehicle models0
[21:15:27] -> [BUSINESS]: No businesses found on database to load it.
[
21:15:27] -> [HOUSE]: No houses found on database to load it.
[
21:15:27] -> [VEHICLE]: No vehicles found on database to load it.
[
21:16:05] [connectionincoming connection127.0.0.1):61367 id0
[21:16:05] [joinMr.Byte has joined the server (0:127.0.0.1)
[
21:16:35Kicking 127.0.0.1 because they didn't logon to the game. 

Screenshot:
https://imgur.com/a/EltgfUJ


Question Expecting a client for iOS
Posted by: Hong - 2024-06-13, 03:24 PM - Forum: Support - No Replies

Greeting everyone!


I just wonder if there is any possibility for iOS user to play as well.
Been surfing here and there yet I found none. 
Any response would be highly appreciated.


  Rebound Gaming Roleplay
Posted by: N0FeaR - 2024-06-09, 01:08 PM - Forum: Advertisements - No Replies

🎮 Welcome to Rebound Gaming Roleplay! 🎮
🌟 Dive into a World of Endless Possibilities! 🌟
Are you ready to experience a new level of immersive roleplay? Join us at Rebound Gaming Roleplay, where your story begins and the possibilities are endless!
🚗 What We Offer:

  • Dynamic Roleplay Environment: From law enforcement to criminal enterprises, find your niche and build your story. Our server is designed to provide a realistic and engaging roleplay experience.
  • Active Community: Join a vibrant community of dedicated roleplayers and make new friends. Participate in discussions, share your stories, and be part of a supportive and welcoming environment.
  • Custom Features: Enjoy unique scripts, custom vehicles, and exclusive events. Our development team is constantly working to introduce new and exciting features to enhance your gameplay.
  • Professional Staff: Our experienced team ensures a smooth and enjoyable gaming experience. We are here to assist you with any issues and to maintain a fair and fun environment for everyone.
🌍 Why Choose Rebound Gaming?
  • Realistic Economy: Engage in a thriving economy with jobs, businesses, and trading. Whether you want to run your own business, work a steady job, or engage in the black market, our economy is designed to be dynamic and realistic.
  • Diverse Jobs and Factions: Become a police officer, firefighter, medic, or run your own business. Join one of the many factions available or create your own to influence the city dynamics.
  • Regular Updates: We constantly update and improve the server based on player feedback. Our goal is to create a roleplay environment that evolves and improves over time, keeping the experience fresh and exciting.
  • Events and Activities: Participate in server-wide events, community gatherings, and special missions. There's always something happening at Rebound Gaming Roleplay to keep you engaged and entertained.
🔧 Server Features:
  • Advanced Character Creation: Customize your character with a wide range of options to make them truly unique.
  • Realistic Law Enforcement: Join the police force, investigate crimes, and maintain order in the city.
  • Medical and Emergency Services: Play as a medic or firefighter, respond to emergencies, and save lives.
  • Criminal Enterprises: Engage in illegal activities, form gangs, and rise to power in the underworld.
  • Business Ownership: Start and manage your own business, from a small shop to a large corporation.
  • Housing System: Purchase and furnish your own home, and invite friends over for roleplay gatherings.
  • Vehicle Customization: Own and customize a wide variety of vehicles to suit your style.
💬 Discord: https://discord.gg/pcbqFRdBhS
🎉 Rebound Gaming Roleplay – Where Every Story is Unique! 🎉


  Set the size of an array based on another
Posted by: JR_Junior - 2024-06-07, 01:03 PM - Forum: Pawn Scripting - Replies (1)

Hello, I know that the size of an array must be defined by a constant, but is there any way to define the size based on a parameter or another array?

PHP Code:
stock GetStringPreview(string[],maxlength=25)
{
new 
preview[maxlength+3],len;
format(preview,maxlength,"%s",string);
if(
strlen(string) > maxlength)
{
len strlen(preview);
strins(preview"...",((preview[len-1] == ' ') ? len-len));
}
return 
preview;


Sad help about GameTextForPlayer
Posted by: LuvaDePedreiro - 2024-06-05, 09:52 PM - Forum: Pawn Scripting - Replies (3)

Hello everybody! I'm new to Pawn scripting, and I would like to know if there is a way to break the line using "\n" in the GameTextForPlayer function. I tried, but the text remains on the same line, if it's possible, what did I do wrong? Below is the line of code I'm using, I would be very grateful if someone could answer my question.

PHP Code:
GameTextForPlayer(playerid"LINE ONE\nLINE TWO"60006); 


I searched the web, but I couldn't find anything similar, so I decided to ask here on the forum, sorry for the silly question.