10.08.2014, 11:55
[Plugin] YSF - kurta999's version
10.08.2014, 20:56
11.08.2014, 10:47
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!
Also thanks for this awesome plugin!
11.08.2014, 11:10
"- Fixed AttachPlayerObjectToPlayer and added AttachPlayerObjectToObject" what was bugged?
11.08.2014, 12:40
pawn Code:
int __cdecl n_AttachPlayerObjectToPlayer()
{
logprintf("AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.");
return 0;
}
Code:
int __cdecl n_SetTeamCount() { return 0; }
13.08.2014, 06:20
It's better to update with 0.3z R4.
13.08.2014, 20:26
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 ?
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 ?
13.08.2014, 22:00
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 think, possible. I'll try to do it tomorrow.
I think, possible. I'll try to do it tomorrow.
13.08.2014, 22:07
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
- 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
13.08.2014, 22:45
Thanks for the R9.
Since we have the testLOS parameter when creating 3D Texts, is possible to do something like: Is3DTextLabelInPlayerLOS(playerid)?
Since we have the testLOS parameter when creating 3D Texts, is possible to do something like: Is3DTextLabelInPlayerLOS(playerid)?
13.08.2014, 23:08
Quote:
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.
|
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
13.08.2014, 23:12
13.08.2014, 23:25
Quote:
- 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 ?) |
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

14.08.2014, 00:08
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.
14.08.2014, 00:16
Another great release kurta999!
14.08.2014, 00:24
Great job!
Is it possible to create TextDrawZAlign(Text:textdrawid, align); ??
Is it possible to create TextDrawZAlign(Text:textdrawid, align); ??
14.08.2014, 01:11
14.08.2014, 01:37
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.
14.08.2014, 09:01
Quote:
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;
}
14.08.2014, 16:04
You've got a small bug in the include since some versions. It will cause a tag mismatch warning.
Fix:
Replace
With:
Infront of fNextZ was a Float tag missing.
Fix:
Replace
Code:
native GetPlayerRaceCheckpoint(playerid, &Float:fX, &Float:fY, &Float:fZ, &Float:fNextX, &Float:fNextY, &fNextZ, &Float:fSize);
Code:
native GetPlayerRaceCheckpoint(playerid, &Float:fX, &Float:fY, &Float:fZ, &Float:fNextX, &Float:fNextY, &Float:fNextZ, &Float:fSize);
« Next Oldest | Next Newest »
Users browsing this thread: 4 Guest(s)