[Plugin] YSF – IS4's version
#81

You can add ?
PHP код:
IsPlayerVisibleForPlayer(forplayerid,playerid);
//for:
ShowPlayerForPlayer(forplayeridplayerid);
HidePlayerForPlayer(forplayeridplayerid); 
Reply
#82

Can you make full decription of all natives and callbacks. How they work, what receive and what return?
Reply
#83

Quote:
Originally Posted by Dice_
Посмотреть сообщение
Can you add IsPlayerOnPickup?
For example
Код:
IsPlayerOnPickup(playerid, [HousePickup])
Use a streamer with "area" or whatever that's called, support, and make the area around the pickup. I doubt the client sends any message to a server for leaving a pickup.
Reply
#84

it is possible to add to the next version of the plugin:
for disable radio in car GTA 3
native SetRadioStationAll(enable);
native SetRadioStationForPlayer(playerid,station);
native GetRadioStationForPlayer(playerid,station);
Reply
#85

No

4char
Reply
#86

Quote:
Originally Posted by shiftlol
Посмотреть сообщение
it is possible to add to the next version of the plugin:
for disable radio in car GTA 3
native SetRadioStationAll(enable);
native SetRadioStationForPlayer(playerid,station);
native GetRadioStationForPlayer(playerid,station);
In my server I do this differently, I use Streams, I set the stream to a closed port when I want to close the radio, and I reproduced all the GTA Radios in shoutcast servers.

Now all my players listen to the same station at the same time through a cmd I made.
Reply
#87

What's in this version of the plugin, that Kurta is not called OnPlayerStateChange death, GetPlayerState just not right brings death...
Reply
#88

Quote:
Originally Posted by shiftlol
Посмотреть сообщение
it is possible to add to the next version of the plugin:
for disable radio in car GTA 3
native SetRadioStationAll(enable);
native SetRadioStationForPlayer(playerid,station);
native GetRadioStationForPlayer(playerid,station);
Use this: https://sampforum.blast.hk/showthread.php?tid=82162
Reply
#89

Enormous!
Reply
#90

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Enormous!
Kurta back
Reply
#91

Finally......
Reply
#92

Quote:
Originally Posted by kurta999
Посмотреть сообщение
Enormous!
So.. are you going to destroy rumors that you were in jail or they were real?
Welcome back by the way , glad to see you here
Reply
#93

From the time when I used version IS4, spamming server in my logs the following message.
PHP код:
[debugAMX backtrace:
[
debugRun time error 7"Stack underflow"
[debug]  Stack pointer (STKis 0x6318ECstack top (STPis 0x6318E0 
Reply
#94

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
From the time when I used version IS4, spamming server in my logs the following message.
PHP код:
[debugAMX backtrace:
[
debugRun time error 7"Stack underflow"
[debug]  Stack pointer (STKis 0x6318ECstack top (STPis 0x6318E0 
To me it happens the same thing, in my case when the server is already on normal, at random it starts to come out in console that message ... Also it arises when it is initiating the server and you start to update the hostname in sa-mp of the server...

Use traductor.
Reply
#95

I went back to version kurta999 and everything works
Reply
#96

Quote:
Originally Posted by AbyssMorgan
Посмотреть сообщение
From the time when I used version IS4, spamming server in my logs the following message.
PHP код:
[debugAMX backtrace:
[
debugRun time error 7"Stack underflow"
[debug]  Stack pointer (STKis 0x6318ECstack top (STPis 0x6318E0 
Sorry for any problems. Does crashdetect show any helpful information? Can you please check if any older version in this repository works?
Reply
#97

I'm a bit afraid that with this code, you would kill protection against OnPlayerWeaponShot invalid position crash.

pawn Код:
#define FLOAT_INFINITY (Float:0x7F800000)
SetSyncBounds(-FLOAT_INFINITY, FLOAT_INFINITY, -FLOAT_INFINITY, FLOAT_INFINITY);
If no, then sorry. I even didn't had enough time to check everything.
Reply
#98

Quote:
Originally Posted by kurta999
Посмотреть сообщение
I'm a bit afraid that with this code, you would kill protection against OnPlayerWeaponShot invalid position crash.

pawn Код:
#define FLOAT_INFINITY (Float:0x7F800000)
SetSyncBounds(-FLOAT_INFINITY, FLOAT_INFINITY, -FLOAT_INFINITY, FLOAT_INFINITY);
If no, then sorry. I even didn't had enough time to check everything.
Probably yes, I am not as advanced as you to circumvent it. But that crash can be fixed with Pawn code, I think? And using this function was more important to my server than some bullet position, so why not include it.
Reply
#99

2.2.1 released, fixing the bug causing RCON connections to crash the server.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)