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.2965.8302300nil31"hunting"nil
local bot2 exports.slothbot:spawnBot(-752.28, -130.2965.8302300nil31"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(playeridkilleridreason)
{
SetPlayerScore(killeridGetPlayerScore(killerid) + 5);
GivePlayerMoney(killerid10000);
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?.?