Skripta koju koristim: UPRP
Detaljan opis problema: Znaci ovako kada idem /kill igraca ili kada on umre neko ga ubije ne spawna ga na spawnu vec tamo nedje a kada sam se tamo spawno iso sam /save trazio koordinate ali nista
Dio skripte: [pawn]public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[killerid][pUbistava]++; PlayerInfo[playerid][pSmrti]++;
ResetPlayerWeapons(playerid); ResetujVar(playerid);
////////////////////////////////////////////////////////////
if(IgracPolicajac(killerid))
{
PlayerInfo[killerid][pTrazeniLevel] = 0;
SetPlayerWantedLevel(killerid,0);
}
////////////////////////////////////////////////////////////
if(!IgracPolicajac(killerid) && IsPlayerConnected(playerid))
{
PostaviWanted(killerid, "Ubistvo", "Nepoznat");
}
////////////////////////////////////////////////////////////
if(GetPlayerWantedLevel(killerid) > 6)
{
SetPlayerWantedLevel(killerid, 6);
PlayerInfo[killerid][pTrazeniLevel] = 6;
}
////////////////////////////////////////////////////////////
if(GetPlayerWantedLevel(playerid) > 0)
{
new string[256];
g_NovacMinus(playerid, GetPlayerWantedLevel(playerid)*400);
SCMF(playerid, -1, ""ZUTA"[INFO] "CRVENA"Izgubili ste %d$ zbog umiranja sa wanted level-om "ZUTA"%d!", GetPlayerWantedLevel(playerid)*400, GetPlayerWantedLevel(playerid));
SetPlayerWantedLevel(playerid, 0); PlayerInfo[playerid][pTrazeniLevel] = 0;
format(string,sizeof(string),""SPLAVA"[PG:RP] "CRVENA"Igrac %s je ubijen/se ubio sa wanted level-om!",GetName(playerid));
AdminPoruka(-1,string);
}
////////////////////////////////////////////////////////////
if(IsPlayerConnected(killerid) && GetPlayerState(killerid) == PLAYER_STATE_DRIVER)
{
new string[256];
format(string,sizeof(string), ""SPLAVA"[PG:RP Anti DB] "BELA"Igrac %s (ID:%d) je uradio Drive By nad igracem %s (ID:%d)!", GetName(killerid), killerid, GetName(playerid), playerid);
AdminGameMaster(-1, string);
}
////////////////////////////////////////////////////////////
if(IsPlayerConnected(killerid) && PlayerInfo[playerid][pLevel] >= 1)
{
new string[256];
format(string,sizeof(string), ""SPLAVA"[PG:RP AK] "BELA"Igrac %s (ID:%d) je ubio igraca %s (ID:%d)", GetName(killerid), killerid, GetName(playerid), playerid);
AdminPoruka(-1, string);
}
////////////////////////////////////////////////////////////
if(gPlayerUsingLoopingAnim[playerid])
{
gPlayerUsingLoopingAnim[playerid] = 0;
}
SetPlayerPos(playerid, 1785.8721,-1797.5588,-43.3141);
////////////////////////////////////////////////////////////
return 1;
}[/pawn]
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
Jel te stavi na onu farmu na kordinate 0,0,0 ?
To se i meni desavalo, ali samo je prestalo ;D
Proveri dali ti je postavljen spawn :)