SA-MP Forums Archive
[Plugin] YSF – IS4's version - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] YSF – IS4's version (/showthread.php?tid=609499)

Pages: 1 2 3 4 5


Re: YSF – IS4's version - AbyssMorgan - 04.08.2016

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



Re: YSF – IS4's version - Glant - 05.08.2016

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


Re: YSF – IS4's version - IllidanS4 - 04.10.2016

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.


Re: YSF – IS4's version - shiftlol - 09.10.2016

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);



Re: YSF – IS4's version - Spmn - 09.10.2016

No

4char


Re: YSF – IS4's version - rt-2 - 09.10.2016

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.


Re: YSF – IS4's version - vovandolg - 09.10.2016

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


Respuesta: Re: YSF – IS4's version - Unrea1 - 09.10.2016

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


Re: YSF – IS4's version - kurta999 - 25.10.2016

Enormous!


Re: YSF – IS4's version - AbyssMorgan - 25.10.2016

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


Re: YSF – IS4's version - kurta999 - 25.10.2016

Finally......


Re: YSF – IS4's version - Crystallize - 25.10.2016

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


Re: YSF – IS4's version - AbyssMorgan - 08.11.2016

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 



Re: YSF – IS4's version - Unrea1 - 08.11.2016

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.


Re: YSF – IS4's version - AbyssMorgan - 09.11.2016

I went back to version kurta999 and everything works


Re: YSF – IS4's version - IllidanS4 - 09.11.2016

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?


Re: YSF – IS4's version - kurta999 - 09.11.2016

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.


Re: YSF – IS4's version - IllidanS4 - 09.11.2016

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.


Re: YSF – IS4's version - IllidanS4 - 10.12.2016

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