Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: zabicie
1. Wynagrodzenie za zabicie peda
Jak zrobic aby po zabiciu kilku pedow otrzymywac wynagrodzenie ?

Pr?bowa?em z pedWasted itd ale mi nie wychodzi. Server:

 function ISIS ( )
if 
not getElementData(client, "zrobil:ISIS") then
local bot1 
= exports.slothbot:spawnBot(-755.28, -131.29, 65.83, 0, 23, 0, 0, nil, 31, "hunting", nil) 
local bot2 = exports.slothbot:spawnBot(-752.28, -130.29, 65.83, 0, 23, 0, 0, nil, 31, "hunting", nil) 
end
end
addEvent
( "ISIS", true )
addEventHandler( "ISIS", getRootElement(),ISIS  ) 


[ Dodano: 2019-03-11, 15:22 ]
ref
2. [INNE] kasa i score za zabicie
Witam dzisiaj zrobi?em taki kod:

Pawn
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerScore(killerid, GetPlayerScore(killerid) + 5);
GivePlayerMoney(killerid, 10000);
return 
1;
}


I nawet jak ja si? zabi?em (skoczy?em z wysoko?ci) i nawet za to dosta? m?j kolega score i kase.

Jak zrobi?, ?e za zabicie dostaje si? to 5 score i 10 ty?.?