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: poprawka
1. Poprawka Kodu na Spawn
Siema to zn?w ja xd

mam problemik kt?ry dotyczy kodu Na Odradzanie/ Spawnienie si?.

Kod wygl?da tak:

ddEventHandler("onPlayerWasted"root, function(totalAmmokillerkillerWeaponbodypartstealth)
  if 
isGuestAccount (getPlayerAccount(source)) then return end
bron 
getPedWeapons(source)
skin getElementModel(source)
team getPlayerTeam(source)
team getTeamName(team)

fadeCamera(sourcefalse3)
if 
team ~= "Policja" then 
setTimer 
(spawnPlayer100001source1146.67, -1512.5215.80math.random(0,360), skin)
setTimer (setCameraTarget100001sourcesource)
setTimer (fadeCamera100001sourcetrue2)
setTimer(dajBron100001sourcebron)

elseif 
team ~= "Mafia" then 
setTimer 
(spawnPlayer100001source2504.12, -1682.3313.55math.random(0,360), skin)
setTimer (setCameraTarget100001sourcesource)
setTimer (fadeCamera100001sourcetrue2)
setTimer(dajBron100001sourcebron)

end
end
)


gdzie tu jest b?ad :/ Poniewa? gdy Jestem w Teamie Mafia to przenosi mnie na spawn Policji :C
a jak jestem w Teamie Policja no to do Policji (ale to ju? normalnie)

Chcia?bym by to by?o ?e jak Policja zginie to jest odradza si? na terenie/respawnie Policji

A jak jest w Mafi to jak zginie to odradza si? na terenie/respawnie Policji