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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,647
» Latest member: zeyydevv
» Forum threads: 2,349
» Forum posts: 12,291

Full Statistics

Online Users
There are currently 157 online users.
» 0 Member(s) | 154 Guest(s)
Bing, Google, Baidu

Latest Threads
[HELP]How to Retrieve and...
Forum: Pawn Scripting
Last Post: walterliz
5 hours ago
» Replies: 2
» Views: 3,571
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
5 hours ago
» Replies: 0
» Views: 9
Need assistance
Forum: Pawn Scripting
Last Post: michaeljordan
6 hours ago
» Replies: 2
» Views: 161
How to create a custom SA...
Forum: Support
Last Post: henryjohn
6 hours ago
» Replies: 2
» Views: 1,440
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
Today, 01:12 AM
» Replies: 0
» Views: 10
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
Yesterday, 10:00 AM
» Replies: 0
» Views: 22
u4gm Battlefield 6 Season...
Forum: Art
Last Post: iiak32484
Yesterday, 07:46 AM
» Replies: 0
» Views: 24
u4gm Bonestorm Crushes Pa...
Forum: Life
Last Post: iiak32484
Yesterday, 07:45 AM
» Replies: 0
» Views: 24
u4gm FC 26 Ultimate Team ...
Forum: Tech
Last Post: iiak32484
Yesterday, 07:43 AM
» Replies: 0
» Views: 30
u4gm Battlefield 6 Season...
Forum: Chat
Last Post: iiak32484
Yesterday, 07:42 AM
» Replies: 0
» Views: 16

 
Sad Obtener ?ngulo de la c?mara del jugador
Posted by: Fixedfeed - 2020-09-27, 05:02 PM - Forum: Programaci?n - Replies (4)

C?mo puedo obtener el ?ngulo de la c?mara del jugador ?


Information angle according to camera position
Posted by: Fixedfeed - 2020-09-27, 03:26 PM - Forum: Pawn Scripting - Replies (2)

As the title says, how can I make the angle of the player set according to the direction of the player's camera?

Code:
new Float:Pos_[3];

GetPlayerCameraFrontVector(playerid, Pos_[0], Pos_[1], Pos_[2]);

SetPlayerFacingAngle ( playerid , Pos_[2] ) ;





try this in OnPlayerUpdate, but it doesn't work


  I need a Anticheat
Posted by: Edgarrios - 2020-09-27, 04:52 AM - Forum: Pawn Scripting - Replies (7)

Hi, i need a anticheat for my server samp 0.3.7, I dont find in the Forum samp, someone have one?


  How to Get Old State Player?
Posted by: Jonies - 2020-09-27, 03:35 AM - Forum: Pawn Scripting - Replies (3)

Is The GetPlayerOldState(playerid) work? i can't find it on wiki.open.mp If someone has implemented code can you send here?


Thumbs Up Life of San Andreas
Posted by: N1ko - 2020-09-26, 09:49 PM - Forum: Gamemodes - Replies (3)

Here I give you a script what maybe one or the other needs it was from a large server at that time but which has no future today and it is already going around on the internet, the founder of the server at the time gave it up later because he doesn't see any future in it and since almost everyone has it anyway, I looked for the link and post it here for you ;)






Download: https://github.com/lifeofsanandreas/lifeofsa


  Forum SAMP and SAMP Wiki Closed?
Posted by: Celsius - 2020-09-26, 06:03 PM - Forum: General Discussions - Replies (29)

We can't reach samp forums and samp wiki. Has samp forums and samp wiki closed?


Heart Indonesia
Posted by: syahily29 - 2020-09-26, 01:55 PM - Forum: Other - Replies (5)

Hello Yang Dari Indonesia

Salam Kenal


  Possible to replace this code into Y_INI ?
Posted by: mems - 2020-09-26, 12:38 PM - Forum: Pawn Scripting - Replies (6)

hello,



i couldn't connect to forum.sa-mp.com for a question i wanted to post, and i searched on why it's removed or something, until i found out that this forum is similar to forum.sa-mp.com, if not the same. anyways, to the question. is it possible to replace the following code into Y_INI ? cbug, time/name related.



PHP Code:
//=============================| CBUG System |================================//

? ? if(matching[playerid] ==&& GetPlayerWeapon(playerid) == 24)

? ? {

? ? ? ? new 
playerammo GetPlayerAmmo(playerid);

new 
pname[MAX_PLAYER_NAME];

GetPlayerName(playeridpnameMAX_PLAYER_NAME);

? ? ? ? if(
playerammo != ammo[playerid])

? ? ? ? {

? ? ? ? ? ? 
ammo[playerid]=playerammo;

? ? ? ? ? ? if(
ammo[playerid]== 6) return ptickcount[playerid] = GetTickCount();

? ? ? ? ? ? if(
ammo[playerid]== 0)

? ? ? ? ? ? {

? ? ? ? ? ? ? ? 
ammo[playerid] =-1;

? ? ? ? ? ? ? ? 
matching[playerid] =0;

? ? ? ? ? ? ? ? new 
string[32];

? ? ? ? ? ? ? ? new 
time GetTickCount()-ptickcount[playerid];

? ? ? ? ? ? ? ? 
format(stringsizeof(string),"Time: %s seconds (/records)"Comma(time));

? ? ? ? ? ? ? ? 
SendClientMessage(playeridCOLOR_WHITEstring);

? ? ? ? ? ? ? ? 
SetPlayerPos(playeridpx[playerid], py[playerid], pz[playerid]);

? ? ? ? ? ? ? ? for(new 
j=0j<11jGivePlayerWeapon(playeridWeapons[playerid][j], Ammo[playerid][j]);

? ? ? ? ? ? ? ? if(
top1 == -1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top1 time;

? ? ? ? ? ? ? ? ? ? 
format(topname1sizeof(topname1), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
time top1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 top4;

? ? ? ? ? ? ? ? ? ? 
top4 top3;

? ? ? ? ? ? ? ? ? ? 
top3 top2;

? ? ? ? ? ? ? ? ? ? 
top2 top1;

? ? ? ? ? ? ? ? ? ? 
top1 time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"topname4);

? ? ? ? ? ? ? ? ? ? 
format(topname4sizeof(topname4), "%s"topname3);

? ? ? ? ? ? ? ? ? ? 
format(topname3sizeof(topname3), "%s"topname2);

? ? ? ? ? ? ? ? ? ? 
format(topname2sizeof(topname2), "%s"topname1);

? ? ? ? ? ? ? ? ? ? 
format(topname1sizeof(topname1), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
top2 == -1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top2 time;

? ? ? ? ? ? ? ? ? ? 
format(topname2sizeof(topname2), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
time top2)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 top4;

? ? ? ? ? ? ? ? ? ? 
top4 top3;

? ? ? ? ? ? ? ? ? ? 
top3 top2;

? ? ? ? ? ? ? ? ? ? 
top2 time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"topname4);

? ? ? ? ? ? ? ? ? ? 
format(topname4sizeof(topname4), "%s"topname3);

? ? ? ? ? ? ? ? ? ? 
format(topname3sizeof(topname3), "%s"topname2);

? ? ? ? ? ? ? ? ? ? 
format(topname2sizeof(topname2), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
top3 == -1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top3 time;

? ? ? ? ? ? ? ? ? ? 
topname3 pname;

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
time top3)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 top4;

? ? ? ? ? ? ? ? ? ? 
top4 top3;

? ? ? ? ? ? ? ? ? ? 
top3 time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"topname4);

? ? ? ? ? ? ? ? ? ? 
format(topname4sizeof(topname4), "%s"topname3);

? ? ? ? ? ? ? ? ? ? 
format(topname3sizeof(topname3), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
top4 == -1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top4 time;

? ? ? ? ? ? ? ? ? ? 
format(topname4sizeof(topname4), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
time top4)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 top4;

? ? ? ? ? ? ? ? ? ? 
top4 =time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"topname4);

? ? ? ? ? ? ? ? ? ? 
format(topname4sizeof(topname4), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
top5 == -1)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? else if(
time top5)

? ? ? ? ? ? ? ? {

? ? ? ? ? ? ? ? ? ? 
top5 time;

? ? ? ? ? ? ? ? ? ? 
format(topname5sizeof(topname5), "%s"pname);

? ? ? ? ? ? ? ? ? ? return 
1;

? ? ? ? ? ? ? ? }

? ? ? ? ? ? ? ? return 
1;

}

? ? ? ? }

? ? }

//============================================================================//

return 1;







if you'd like any other information, please tell me.


  Misc Aviation Tools and Auto-Pilot for SA-MP!
Posted by: Southclaws - 2020-09-25, 01:58 PM - Forum: Libraries - Replies (4)

Hey all!



I've been out of writing code for a while and out of SA-MP related code for a long while so I started a little side project for fun recently.



A basic pitch-based altitude and roll-based heading autopilot for SA-MP.



Based on real autopilot behaviour with some adjustments made for the simple physics of San Andreas.



It's slowly turning into a library of functions for you to be able to build your own auto-pilot and aircraft control systems but for now it's mostly just a test.pwn with a bunch of spaghetti code inside!



Check out the GitHub link for an overview of how it works:



https://github.com/Southclaws/samp-aviation



And, I've been developing this live on the Discord so if you want to follow along with new additions (such as VOR course following, ILS approach and landing, procedure turns and other real-life aviation stuff implemented into a 15 year old game) be sure to join the discord and watch out for my live streams!


  X_EnEx (Interior Entrance Creator) v1.0
Posted by: XoMoX - 2020-09-17, 11:04 AM - Forum: Libraries - Replies (3)

X_EnEx by XomoX

Introduction


I'll keep this short and simple,

This is like an interior Entrance and Exit like in Crazybob's and other servers



Download:?https://github.com/CnRXoMoX/X_Enex



Creating Entrance and Exit

Code:
// Note: That the angle plays an important role here you need to be in the right angle before using /save



Enex_Create(entX, entY, entZ, entAng, exiX, exiY, exiZ, exiAng, worldid, interiorid);



Functions

Code:
Enex_SetIcon(id, iconid)

Enex_SetName(id, const name[]);

Enex_PlayerIn(playerid);

Enex_EnableFreeze(id, bool:status);

Enex_Disable(id, bool:status); // Note that this disables only the id of the EnEx you want to disable