Injured bug on SC-RP 1.3 - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Injured bug on SC-RP 1.3 (
/showthread.php?tid=621081)
Injured bug on SC-RP 1.3 -
Jumberi - 06.11.2016
https://sampforum.blast.hk/showthread.php?tid=609992 on this gamemode i found bug , when player dies he spawns at last login place so , can you help me with this?
Re: Injured bug on SC-RP 1.3 -
Jumberi - 06.11.2016
help me with this
Re: Injured bug on SC-RP 1.3 -
PeanutButter - 06.11.2016
Show us the code that is malfunctioning and tell us what should be changed.
Re: Injured bug on SC-RP 1.3 -
Jumberi - 06.11.2016
Quote:
Originally Posted by PeanutButter
Show us the code that is malfunctioning and tell us what should be changed.
|
problem is that i dont know, where is code of that , when player dies he spawns at last login place or in lasventuras. scripter said that it fixed in 1.4 version but its not released yet
Re: Injured bug on SC-RP 1.3 -
GoldenLion - 06.11.2016
There's a line under OnPlayerSpawn like
Код:
if (PlayerData[playerid][pInjured])
just add
Код:
SetPlayerPos(playerid, PlayerData[playerid][pPos][0], PlayerData[playerid][pPos][1], PlayerData[playerid][pPos][2]);
under it.
Re: Injured bug on SC-RP 1.3 -
Jumberi - 06.11.2016
Quote:
Originally Posted by GoldenLion
There's a line under OnPlayerSpawn like
Код:
if (PlayerData[playerid][pInjured])
just add
Код:
SetPlayerPos(playerid, PlayerData[playerid][pPos][0], PlayerData[playerid][pPos][1], PlayerData[playerid][pPos][2]);
under it.
|
thankies mate