[Plugin] YSF - kurta999's version

Quote:
Originally Posted by papedo
View Post
GetModeRestartTime always returns 0 for me... (Linux version)

Do you have this problem, too?
I have same problem with GetPlayerSirenState
Reply

Quote:
Originally Posted by papedo
View Post
GetModeRestartTime always returns 0 for me... (Linux version)

Do you have this problem, too?
Quote:
Originally Posted by [D]ry[D]esert
View Post
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?
Reply

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!
Reply

"- Fixed AttachPlayerObjectToPlayer and added AttachPlayerObjectToObject" what was bugged?
Reply

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;
}
Reply

It's better to update with 0.3z R4.
Reply

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 ?
Reply

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
View Post
Is something like SetPlayerChatBubbleForPlayer possible, or it requires clientside modifications ?
I think, possible. I'll try to do it tomorrow.
Reply

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
Reply

Thanks for the R9.

Since we have the testLOS parameter when creating 3D Texts, is possible to do something like: Is3DTextLabelInPlayerLOS(playerid)?
Reply

Quote:
Originally Posted by kurta999
View Post
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
View Post
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
Reply

Quote:
Originally Posted by IstuntmanI
View Post
You solved the paused functions/callback ?
No, that has been disabled now for windows too.
Reply

Quote:
Originally Posted by IstuntmanI
View Post
- 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

Reply

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.
Reply

Another great release kurta999!
Reply

Great job!

Is it possible to create TextDrawZAlign(Text:textdrawid, align); ??
Reply

Quote:
Originally Posted by IstuntmanI
View Post
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.
Reply

Quote:
Originally Posted by Michalec
View Post
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.
Reply

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.
Reply

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.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)