Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 753 online users. » 0 Member(s) | 750 Guest(s) Bing, Google, Yandex
|
Latest Threads |
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
9 hours ago
» Replies: 0
» Views: 36
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
Yesterday, 02:16 PM
» Replies: 1
» Views: 59
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 50
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 190
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 270
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 330
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 330
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 138
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 229
|
Not relevant anymore
Forum: Questions and Suggestions
Last Post: peti
2025-09-05, 02:00 PM
» Replies: 0
» Views: 187
|
|
|
Tagalog/Filipino |
Posted by: XoMoX - 2020-11-22, 03:33 AM - Forum: Other
- Replies (23)
|
 |
Hi mga kababayan buhayin yung thread nato para magkaroon tayo ng sariling board sa forums at sariling channel sa discord.gg/samp
|
|
|
My suggestions list - [Updated 21/06/21] |
Posted by: JR_Junior - 2020-11-22, 12:08 AM - Forum: Questions and Suggestions
- Replies (11)
|
 |
1 - BASIC NATIVE FUNCTIONS
I know that many of these functions that I am going to list may exist because someone has already created them on their own,?
but the fact is that most of them do not work accurately and not all of them have been shared. These are simple functions,?
which should be native and that I think that all server owners should have access to facilitate the work.
PHP Code: GetServerIP();
GetServerPort();
PHP Code: IsPlayerDesynced(playerid);
IsPlayerInWater(playerid);
IsPlayerUnderWater(playerid);
IsPlayerLying(playerid);
IsPlayerCrouched(playerid);
IsPlayerUpBuilding(playerid);
IsPlayerOnSurface(playerid);
IsPlayerUnderGround(playerid);
IsPlayerUnderVehicle(playerid);
IsPlayerOnStreet(playerid);
IsPlayerMoving(playerid);
IsPlayerRunning(playerid);
IsPlayerWalking(playerid);
IsPlayerAiming(playerid);
IsPlayerShooting(playerid);
IsPlayerThrowingWeapon(playerid);
IsPlayerReloadingWeapon(playerid);
IsPlayerInAir(playerid);
IsPlayerParachuting(playerid);
IsPlayerFalling(playerid);
IsPlayerInFire(playerid);
IsPlayerBurning(playerid);
IsVehicleInWater(vehicleid);
IsVehicleInFire(vehicleid);
IsVehicleBurning(vehicleid);
IsVehicleOnSurface(vehicleid);
IsVehicleUnderGround(vehicleid);
IsVehicleInAir(vehicleid);
IsVehicleFalling(vehicleid);
IsVehicleUpBuilding(vehicleid);
IsVehicleOnStreet(vehicleid);
IsVehicleWheelsUp(vehicleid);
IsVehicleMovingForward(vehicleid);
IsVehicleMovingBackward(vehicleid);
2 - PROGRESS BARS
- A system based on the game's original progress bars. Like the bars of life, armour, oxygen, etc.
PHP Code: ProgressBar_Create(Float:x, Float:y, Float:width, Float:height, Player:playerid);
ProgressBar_SetDirection(ProgressBar:ProgressBar, direction);
ProgressBar_SetMaxValue(ProgressBar:ProgressBar, Float:max_value);
ProgressBar_SetColor(ProgressBar:ProgressBar, color);
ProgressBar_SetBorderSize(ProgressBar:ProgressBar, Float:border_size);
ProgressBar_SetBorderColor(ProgressBar:ProgressBar, border_color);
ProgressBar_SetValue(ProgressBar:ProgressBar, Float:value);
ProgressBar_Show(ProgressBar:ProgressBar, Player:playerid);
ProgressBar_Hide(ProgressBar:ProgressBar, Player:playerid);
ProgressBar_Flash(ProgressBar:ProgressBar, color, Player:playerid);
ProgressBar_StopFlashing(ProgressBar:ProgressBar, Player:playerid);
3 - CUSTOM SOUNDS AND RADIUS
- A system that allows you to add customized sounds to a folder within scriptfiles.
- Be able to select the radius at which the sound should play, if a coordinate is defined.
PHP Code: AddSound(sound_id, file_name[]);
Player_PlaySound(playerid, soundid, Float:x, Float:y, Float:z, Float:radius);
4 - NEW AUDIO STREAM FEATURES
- Possibility of attaching an audio stream to a player / object / vehicle.
- To be able to pause / resume and control the volume.
- Determine the virtual world and the interior where the audio stream should play.
- Enable and disable audio stream messages in chat.
- If an audio stream is attached to a location or to a player, vehicle, or object, it should automatically play / update when a player approaches.
PHP Code: Player_PlayAudioStream(playerid, url, posX, posY, posZ, distance, usepos, virtualworld, interior, attach_player, attach_vehicle, attach_object);
Player_PauseAudioStream(playerid);
Player_ResumeAudioStream(playerid);
Player_SetAudioStreamVolume(playerid, volume);
Player_ToggleAudioStreamMessage(playerid, toggle);
IsAudioStreamPlayingForPlayer(playerid);
5 - VEHICLE DAMAGE DETECTION
Detect damage caused by a vehicle or the damage that a vehicle has received.
PHP Code: Vehicle_OnTakeDamage(vehicleid,?issuerid,?Float:amount, weaponid, vehiclepart);
Vehicle_OnGiveDamage(vehicleid, driverid,?damagedid,?Float:amount);
6 - FIRE SYSTEM
A system for creating fire flames.
PHP Code: Fire_Create(Fire:Fire, Float:x, Float:y, Float:z, Float:size, virtualworld, interior, Player:playerid);
Fire_Destroy(Fire:Fire);
7 - PLAYER AND VEHICLE INVULNERABILITY
Prevents any kind of damage, even if your car is not invulnerable and explodes, you will not die.
PHP Code: Player_SetInvulnerable(playerid, true);
Vehicle_SetInvulnerable(vehicleid, true);
8 - ACTORS IMPROVMENTS AND NEW FEATURES
If we use SetActorInvulnerable the actor must not be pushed or moved, this is bad and we have to use a timer to reset the position.
My suggestion is to improve this or create ToggleActorCollision.
PHP Code: Actor_SetChatBubble(actorid, ...);
Actor_Attach3DTextLabel(actorid, ...);
9 - HIDDEN AND CUTSCENE SKINS
Add the cutscene skins and other skins present in the game as standard OpenMP skins, just like the samp, following the sequence of IDs 312,313, etc.
Here is the skins files: https://github.com/NicKv7/SkinsCutscenes
Original post: http://web-old.archive.org/web/201904230...?p=3958232
10 - NEW ANIMATION FUNCTIONS
PHP Code: Player_OnAnimationChange(playerid, old_index, old_animlib[], old_animname[], new_index, new_animlib[], new_animname[])
Player_OnAnimationEnds(playerid, index, animlib[], animname[])
Player_GetAnimationSpeed(playerid);
Player_SetAnimationSpeed(playerid, Float:speed);
|
|
|
SA-MP in world top 10 most played games! |
Posted by: Potassium - 2020-11-21, 04:05 AM - Forum: General Discussions
- Replies (10)
|
 |
Did you know that SA-MP is one of the top 10 most played games IN THE WORLD according to the Steam player count stats?!
We currently have more players than Rust, and that's even missing a lot of our community from the count, such as the Chinese servers that don't have access to the Master List.
THIS is why we're dedicated to open.mp!
Info taken from http://open.mp/servers
|
|
|
|