![]() |
#1 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Sweden
Posts: 1,899
Reputation: 1589
|
![]()
This plugin provides low-level functions to let Pawn scripts do powerful things.
This plugin in itself does not aim to provide full features, it's meant to let scripters make cool, new things. It was made along with this include: weapon-config.inc Code:
#if defined _INC_SKY #endinput #endif #define _INC_SKY // Make a player appear to spawn for all players but himself native SpawnPlayerForWorld(playerid); // Keep re-sending the last received sync data native FreezeSyncData(playerid, bool:toggle); // Set the HP bar (warning: affects GetPlayerHealth) native SetFakeHealth(playerid, health); // Set the armour bar (warning: affects GetPlayerArmour) native SetFakeArmour(playerid, armour); // Force a specific facing angle to sync for other players native SetFakeFacingAngle(playerid, Float:angle = Float:0x7FFFFFFF); // Disable stealth-knife sync (only the player doing it will see it happen) native SetKnifeSync(toggle); // Make a player appear dead for other players native SendDeath(playerid); // Set the last animation data native SetLastAnimationData(playerid, data); // Send the last sync data // If an animation is specified, it will be similar to ApplyAnimation native SendLastSyncData(playerid, toplayerid, animation = 0); // Clear animations for another player only native ClearAnimationsForPlayer(playerid, forplayerid); // Disable infinity ammo bugs and other bugs (some bugs still work) native SetDisableSyncBugs(toggle); // Make the weapon state always synced as WEAPONSTATE_MORE_BULLETS native SetInfiniteAmmoSync(playerid, toggle); // Stop syncing keys for a player native SetKeySyncBlocked(playerid, toggle); // Same as YSF (renamed to avoid problems) native TextDrawSetPosition(Text:text, Float:x, Float:y); // Same as YSF (renamed to avoid problems) native PlayerTextDrawSetPosition(playerid, PlayerText:text, Float:x, Float:y); GitHub: https://github.com/oscar-broman/SKY Download: https://github.com/oscar-broman/SKY/releases Some things you can do:
|
![]() |
![]() |
![]() |
#2 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: May 2010
Location: Black Asylum
Posts: 3,180
Reputation: 489
|
![]()
Hell yea, so I can fix knife sync?
Gonna test this out. Does this allow for 255 max health and make the health bar longer? |
![]() |
![]() |
![]() |
#3 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,151
Reputation: 723
|
![]()
Very good Slice!
|
![]() |
![]() |
![]() |
#4 |
Huge Clucker
![]() ![]() ![]() Join Date: Mar 2010
Location: Italy
Posts: 253
Reputation: 85
|
![]()
Since this is a YSF fork it still relies on SA:MP version memory addresses, right?
|
![]() |
![]() |
![]() |
#5 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Location: Sweden
Posts: 1,899
Reputation: 1589
|
![]()
I tried to limit that as much as possible. There is only a few places that will need to be updated for new versions.
It's on GitHub though, and if I don't update it in time, someone else will. |
![]() |
![]() |
![]() |
#6 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2013
Location: GetPlayerPos(playerid, pos); Scripter/Mapper.
Posts: 3,526
Reputation: 435
|
![]()
Awesome! Slice is truly amazing, but why name it SKY? Just a weird question
![]() |
![]() |
![]() |
![]() |
#7 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Mar 2013
Location: Rio de Janeiro
Posts: 4,151
Reputation: 723
|
![]()
S = Slice's K= Kurta999's Y = YSF, isnt obvious?
|
![]() |
![]() |
![]() |
#8 |
Little Clucker
![]() Join Date: Feb 2015
Location: Chile
Posts: 4
Reputation: 3
|
![]()
This is pretty nice Slice i'll take a look on this
|
![]() |
![]() |
![]() |
#9 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2009
Location: Slovakia (HU)
Posts: 1,423
Reputation: 626
|
![]()
I hope this works with YSF because I added an advertisement under Download section at YSF first page.
|
![]() |
![]() |
![]() |
#10 |
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2006
Posts: 1,681
Reputation: 124
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] YSF - kurta999's version | kurta999 | Plugin Development | 1756 | 22/04/2018 03:20 PM |
Forklift fork | Eloctro | Scripting Help | 3 | 06/07/2014 08:38 PM |
Mailer from Slice | Moras | Server Support | 0 | 09/01/2012 07:39 PM |
GTA SA-MP Stunting Video 2011 By Nka19 - Bump the Fork! | Nka19 | Screenshots and Videos | 10 | 08/08/2011 02:06 PM |