29.05.2018, 14:19
(
Последний раз редактировалось RedGun2015; 08.06.2018 в 19:11.
)
BUG (i think)
I updated my streamer plugin (2.8.1) to the latest (2.9.3) and pickups under OnPlayerDeath doesn't apper/aren't created. I changed to 2.9.1 ..same, I changed back to 2.8.1 and pickups are created,fine.
You should fix this. I really want the latest version.
I updated my streamer plugin (2.8.1) to the latest (2.9.3) and pickups under OnPlayerDeath doesn't apper/aren't created. I changed to 2.9.1 ..same, I changed back to 2.8.1 and pickups are created,fine.
You should fix this. I really want the latest version.
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID) { new Float:pos[3]; GetPlayerPos(playerid, pos[0], pos[1], pos[2]); pickup1[playerid] = CreateDynamicPickup(1241, 23, pos[0] + 2.0, pos[1] + 2.0, pos[2], 0, 0, INVALID_PLAYER_ID, 30.0); if(GetPlayerWeapon(playerid) == 24) { pickup2[playerid] = CreateDynamicPickup(348, 23, pos[0], pos[1], pos[2], 0, 0, INVALID_PLAYER_ID, 30.0); pickup2GUN[playerid] = 24; } } return 1; }