Injured bug on SC-RP 1.3
#1

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

help me with this
Reply
#3

Show us the code that is malfunctioning and tell us what should be changed.
Reply
#4

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
Reply
#5

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)