Re: YSF - kurta999's version -
Dress - 10.08.2014
Quote:
Originally Posted by papedo
GetModeRestartTime always returns 0 for me... (Linux version)
Do you have this problem, too?
|
I have same problem with GetPlayerSirenState
Re: YSF - kurta999's version -
kurta999 - 10.08.2014
Quote:
Originally Posted by papedo
GetModeRestartTime always returns 0 for me... (Linux version)
Do you have this problem, too?
|
Quote:
Originally Posted by [D]ry[D]esert
That was the method i was talking about 
|
I'll check these before I release R9.
Anybody would use 1000p version if i would release?
Re: YSF - kurta999's version -
IllidanS4 - 11.08.2014
Hi kurta, could you please add AttachPlayerObjectToPlayerObject (for streamers), or Hide/Show Object/Vehicle ForPlayer? Would be nice to finally have this.
Also thanks for this awesome plugin!
Re: YSF - kurta999's version -
Kar - 11.08.2014
"- Fixed AttachPlayerObjectToPlayer and added AttachPlayerObjectToObject" what was bugged?
Re: YSF - kurta999's version -
kurta999 - 11.08.2014
pawn Code:
int __cdecl n_AttachPlayerObjectToPlayer()
{
logprintf("AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.");
return 0;
}
And my best function in samp:
Code:
int __cdecl n_SetTeamCount()
{
return 0;
}
Re: YSF - kurta999's version -
iFarbod - 13.08.2014
It's better to update with 0.3z R4.
Re: YSF - kurta999's version -
IstuntmanI - 13.08.2014
Is something like SetPlayerChatBubbleForPlayer possible, or it requires clientside modifications ?
R9 looks great so far, but I still don't use it, because it has to be updated with every SA:MP version. :\ It isn't possible to make it discover the addresses automatically for every version ?
Re: YSF - kurta999's version -
kurta999 - 13.08.2014
90% of the addresses are discovered automatical both in windows and linux, now update plugin is very easy. This plugin is my server core, so I'm forced to update to every new server version.
Quote:
Originally Posted by IstuntmanI
Is something like SetPlayerChatBubbleForPlayer possible, or it requires clientside modifications ?
|
I think, possible. I'll try to do it tomorrow.
Re: YSF - kurta999's version -
kurta999 - 13.08.2014
R9 released
- Added support for 0.3z R4
- Added GetServerSettings
- Added IsPlayerSpawned
- Added IsPickupStreamedIn, Is3DTextLabelStreamedIn
- Added GetVehicleCab, IsVehicleOccupied, IsVehicleDead
- Added *HasVehicleBeenOccupied, *SetVehicleBeenOccupied
- GetVehicleSpawnPos changed to GetVehicleSpawnInfo
- Fixed lags in server which causer was YSF
- Fixed GetPlayerColor - Returns 0 unless SetPlayerColor has been used
- Fixed scoreboard functions in linux
* Do you think this function is useless, but not. SA-MP will respawn only those vehicles, whose has been occupied (was player in vehicle).
If you push one vehicle from LV to LS and that vehicle has never been occupied, then the vehicle won't respawn until someone enter.
You can fix this problem by SetVehicleBeenOccupied(vehicleid, true), when vehicle was moved x meter from spawn position and vehicle will respawn after respawn time passed.
https://github.com/kurta999/YSF/releases/tag/R9
Re: YSF - kurta999's version -
CyNiC - 13.08.2014
Thanks for the R9.
Since we have the
testLOS parameter when creating 3D Texts, is possible to do something like: Is3DTextLabelInPlayerLOS(playerid)?
Re: YSF - kurta999's version -
IstuntmanI - 13.08.2014
Quote:
Originally Posted by kurta999
90% of the addresses are discovered automatical both in windows and linux, now update plugin is very easy. This plugin is my server core, so I'm forced to update to every new server version.
|
I saw that many of them are automatically, but still, not 100%. D: It can't be updated very fast, we have to wait for you too. You can never be sure of someone, maybe you will retire, or lose the interest on your server/YSF plugin, automatically is the best. Are you sure that there is no way for all of them to be automatically ?
Quote:
Originally Posted by kurta999
I think, possible. I'll try to do it tomorrow.
|
Great !
EDIT: R9 is great ! Thanks for your work, it excites me as hell, but I don't use it because of the SA:MP version thing. xD
You solved the paused functions/callback which worked only on Windows ? (Can you specify which functions and callbacks work only on Windows ?)
I hope you will answer all my (stupid) questions. xD
Re: YSF - kurta999's version -
kurta999 - 13.08.2014
Quote:
Originally Posted by IstuntmanI
You solved the paused functions/callback ?
|
No, that has been disabled now for windows too.
Re: YSF - kurta999's version -
IstuntmanI - 13.08.2014
Quote:
Originally Posted by IstuntmanI
- Are you sure that there is no way for all of them to be automatically ?
- (Can you specify which functions and callbacks work only on Windows ?)
|
These questions remained. D:
Holy sh*t, I readed now all of the R9 features, and it made me to use it (still hoping it will be automatically in the future), omg. I can make big improvements on my server with many of these functions. Thanks.
Yeah... I look like a child right now, but this happens when I'm excited. (You should see me when a new major SA:MP version is released, lol) I wish I could give you reputation, but I have to spread it. :v
Re: YSF - kurta999's version -
[HLF]Southclaw - 14.08.2014
That would require a client modification too, the client doesn't tell the server when a label is visible by the player as far as I know.
Re: YSF - kurta999's version -
iZN - 14.08.2014
Another great release kurta999!
Re: YSF - kurta999's version -
Michalec - 14.08.2014
Great job!
Is it possible to create TextDrawZAlign(Text:textdrawid, align); ??
Re: YSF - kurta999's version -
kurta999 - 14.08.2014
Quote:
Originally Posted by IstuntmanI
You solved the paused functions/callback which worked only on Windows ? (Can you specify which functions and callbacks work only on Windows ?)
I hope you will answer all my (stupid) questions. xD
|
Now everything work on linux, except pause functions.
Re: YSF - kurta999's version -
Mauzen - 14.08.2014
Quote:
Originally Posted by Michalec
Great job!
Is it possible to create TextDrawZAlign(Text:textdrawid, align); ??
|
The z alignment is only determined by the display order of the textdraws afaik, so is a client sided effect. I doubt YSF could add any other method than you already can do in the script - hiding and re-showing the textdraws in the right order.
Re: YSF - kurta999's version -
kurta999 - 14.08.2014
Quote:
Originally Posted by IstuntmanI
Is something like SetPlayerChatBubbleForPlayer possible, or it requires clientside modifications ?
R9 looks great so far, but I still don't use it, because it has to be updated with every SA:MP version. :\ It isn't possible to make it discover the addresses automatically for every version ?
|
pawn Код:
CMD:bubble(playerid, params[])
{
SendRPC(playerid, 0x3B, // rpcid - send this RPC only for playerid, so only playerid will see the chat bubble
BS_UNSIGNEDSHORT, strval(params), // at player, where you want to create bubble
BS_INT, 0x33FF33AA, // color
BS_FLOAT, 50.0, // drawdistance
BS_INT, 4325, // expiretime
BS_UNSIGNEDCHAR, 3, // string lenght
BS_STRING, "asd"); // string
return 1;
}
I'll create function for this in R10.
AW: YSF - kurta999's version -
Oskaar1994 - 14.08.2014
You've got a small bug in the include since some versions. It will cause a tag mismatch warning.
Fix:
Replace
Code:
native GetPlayerRaceCheckpoint(playerid, &Float:fX, &Float:fY, &Float:fZ, &Float:fNextX, &Float:fNextY, &fNextZ, &Float:fSize);
With:
Code:
native GetPlayerRaceCheckpoint(playerid, &Float:fX, &Float:fY, &Float:fZ, &Float:fNextX, &Float:fNextY, &Float:fNextZ, &Float:fSize);
Infront of fNextZ was a Float tag missing.