| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,885
» Latest member: vivalove
» Forum threads: 2,391
» Forum posts: 12,296
Full Statistics
|
| Online Users |
There are currently 315 online users. » 0 Member(s) | 313 Guest(s) Bing, Google
|
|
|
That War Server |
|
Posted by: Cassius - 2023-12-12, 01:32 AM - Forum: Advertisements
- Replies (2)
|
 |
Let me introduce you to That War Server. A combined roleplay and TDM SA-MP Server where we use That_ as a tag name to support the community.
You may certainly ask what makes That War Server unique compared to other servers. The answer is pretty simple: That War Server has it's own storyline.
A war taking place in the 1960s between the Blue Team (Called “The Blue Empire”) and the Red Team (Called "The Red Rebellion").
To go deeper about the astonishing features of the server, a group of telekinetics, hundreds of years ago, were exiled from another galaxy and thus forced to find a new planet to live in.
These telekinetics — Aliens — became allies with the Rebellion. Two additional factions exist: the Black Team (Called "The FBI") and the Yellow Team (Called "Civilians") but that’s not it!
Other special powers exist too! Players with Spy Powers are able to stealthily take out their opponents with 1 shot if they hit them in the head with a silenced pistol or a sniper rifle. There are plenty more characteristics that make this server unique, so check the links below and I highly recommend trying it.
Discord: https://discord.com/invite/7sBRxQw
Forum: https://thatwarserver.com
Server IP: 149.56.45.135:7777
**[Introductionary footage]**
https://youtu.be/czsZrzGQwl4
https://youtu.be/uGqoKq70pK0
https://youtu.be/sd5uURtlKK0
|
|
|
|
YSI\y_timers problem [ solved ] |
|
Posted by: BotLevel.Bobu - 2023-12-11, 07:55 PM - Forum: Pawn Scripting
- No Replies
|
 |
How to stop a timer. The " stop x " doesn't work. It is a BUG or I don't use it right ?
Code: #include <a_samp>
#include <YSI_Coding\y_timers>
main()
{
print("Start Timer Test2");
defer Test2();
}
timer Test1[10000]()
{
print(" Why still working ? Why calling this timer 2x ?");
return 1;
}
timer Test2[5000]()
{
print(" Timer Test2 5 sec ");
defer Test3();
defer Test1();
return 1;
}
timer Test3[2000]()
{
print(" Timer Test3 6 sec ");
stop Test1(); // It seems that simply calls the function instantly and not stoping anything ... That's why calling the timer 2x
return 1;
}
https://tinypic.host/image/LqSj4
And now I'm using qanwo with the latest release from YSI and still exact the same problem.
Code: #include <open.mp>
#define YSI_NO_HEAP_MALLOC
#include <YSI_Coding\y_timers>
timer Test1[10000]()
{
print(" Why still working ? Why calling this timer 2x ?");
return 1;
}
timer Test3[2000]()
{
print(" Timer Test3 6 sec ");
stop Timer:Test1(); // It seems that simply calls the function instantly and not stoping anything ... That's why calling the timer 2x
return 1;
}
timer Test2[5000]()
{
print(" Timer Test2 5 sec ");
defer Test3();
defer Test1();
return 1;
}
main()
{
print("Start Timer Test2");
defer Test2();
}
https://tinypic.host/image/LzMcb
Now I really think that I'm using it wrong because not even the normal way doesn't work.
Code: #include <a_samp>
main()
{
print(" Start Timer_Test2 5 sec");
SetTimer("Timer_Test2", 5000, false);
}
forward Timer_Test1();
forward Timer_Test2();
forward Timer_Test3();
public Timer_Test1()
{
print(" Why still working ? Why calling this timer 2x ?");
return 1;
}
public Timer_Test2()
{
print(" Timer Test2 5 sec ");
SetTimer("Timer_Test3", 6000, false);
SetTimer("Timer_Test1", 10000, false);
return 1;
}
public Timer_Test3()
{
print(" Timer Test3 6 sec ");
KillTimer(Timer_Test1());
return 1;
}
I found the right way.
Code: #include <a_samp>
new test1;
new test2;
new test3;
main()
{
print(" Start Timer_Test2 5 sec");
test2 = SetTimer("Timer_Test2", 5000, false);
}
forward Timer_Test1();
forward Timer_Test2();
forward Timer_Test3();
public Timer_Test1()
{
print(" Why still working ? Why calling this timer 2x ?");
return 1;
}
public Timer_Test2()
{
print(" Timer Test2 5 sec ");
test3 = SetTimer("Timer_Test3", 6000, false);
test1 = SetTimer("Timer_Test1", 10000, false);
return 1;
}
public Timer_Test3()
{
print(" Timer Test3 6 sec ");
KillTimer(test1);
return 1;
}
Like I thought... I wasn't use it right ! Everything work just perfect !
This is how it works:
Code: #include <a_samp>
#define YSI_NO_HEAP_MALLOC
#include <YSI_Coding\y_timers>
new Timer:test;
timer Test1[10000]()
{
print(" Why still working ? Why calling this timer 2x ?");
return 1;
}
timer Test3[2000]()
{
print(" Timer Test3 6 sec ");
stop Timer:test; // It seems that simply calls the function instantly and not stoping anything ... That's why calling the timer 2x
return 1;
}
timer Test2[5000]()
{
print(" Timer Test2 5 sec ");
defer Timer:Test3();
test = defer Timer:Test1();
return 1;
}
main()
{
print("Start Timer Test2 xx");
defer Timer:Test2();
}
|
|
|
|
| Include that facilitates sqlite manipulation |
|
Posted by: Jhames - 2023-12-10, 05:30 AM - Forum: Support
- No Replies
|
 |
Hello everything is fine.
I'm starting a new project and would like to use sqlite, but I would like to know if there is any include that makes it easier to manipulate and use sqlite. I found an include called "easydb.inc" but the project is old and has no active documentation.
In my last projects I used DOF2, it is an .ini file manipulation include and it works very well, but my next project requires some specific queries that only sqlite and mysql are supported.
|
|
|
|
| samp black screen win 11 |
|
Posted by: morohassaan1 - 2023-12-08, 01:31 PM - Forum: Support
- No Replies
|
 |
Please Help me
Recently I installed windows 11 and downloaded gta sa and it works well, but when I start any server on samp it gives me black screen after loading and then nothing.
|
|
|
|
| I have a question |
|
Posted by: melissawimmer219 - 2023-12-08, 04:03 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Dear community,
i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.
Thanks!
|
|
|
|
SAMP Mods Collection🔥 |
|
Posted by: xDrPawnx - 2023-12-04, 01:47 PM - Forum: Pawn Scripting
- No Replies
|
 |
GTA SAMP Mods Collection (2012, by DrPawn)
Introduction
Welcome to my personal collection of mods for GTA San Andreas Multiplayer (SAMP) from the year 2012. (0.3d I think)
These mods represent not just my early ventures into the world of programming but also hold a special place in my heart as they were some of the first codes I ever wrote during my first three years as a programmer.
While GTA SAMP may not be as widely played today, the significance of these mods goes beyond their functional purpose in the game. They are a testament to my growth and passion as a developer.
I've decided to publish them on GitHub as a form of digital preservation and to share a piece of my programming journey with others.
Link to Github: https://github.com/IdanSHR/SAMP-Mods-Col...aster/mods
Mod List and Descriptions
- Deathmatch Zones System: This mod introduces dynamic zones and weapons for deathmatch gameplay, enhancing the PVP experience in SAMP.
- Anti SAWN-Off 202: A balance-focused mod that limits the usage of the overpowered SAWN-Off shotgun bug, aiming to create a more equitable gaming environment with an On/Off switch.
- Getting Damaged Text: Adds an immersive feature where players receive on-screen text notifications when taking damage, providing a more responsive gameplay experience.
- Multi Commands Line: This utility mod allows for executing multiple commands in a single line, greatly enhancing the efficiency of gameplay and server administration.
- Special Vehicles: Introduces unique vehicles not originally found in GTA SAMP, adding a fresh and exciting element to the game's exploration and transportation.
Why Publish Now?
These mods are more than just code; they are a part of my personal history in programming. By sharing them, I hope to not only preserve these early works but also possibly inspire new and veteran programmers in the gaming community. Whether for nostalgic revisits, educational purposes, or just for fun, I believe these mods still hold value.
Acknowledgements
A big thank you to the GTA SAMP community for the support and inspiration during my early days of coding. This project wouldn't have been possible without the vibrant and creative environment fostered by this community.
|
|
|
|
|