Skripta koju koristim:FactionGame
Detaljan opis problema:Kako da promenim spawn posle ubistva rodi se kod bolnice na zapadu a ja ocu kod bolnice na istoku
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://
[pomoc] spawn posle ubistva
2,019
pregleda
17
postova
pre 14 godina
evo sa tog moda faction...
Ovo je Gde se Spawna na Faction...
ovo treba promijenit uzmi svoje Coordinate i stavi tu tako da ce se tu spawnati posle...
Ovo je Gde se Spawna na Faction...
if(MedicBill == 1 && PlayerInfo == 0 && PlayerPaintballing == 0)
{
if(FirstSpawn != 1)
{
//new string;
new cut = deathcost;
SafeJB_GivePlayerMoney(playerid, -cut);
MedicBill = 0;
MedicTime = 0;
NeedMedicTime = 0;
SetPlayerToTeamColor(playerid);
SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
SetPlayerFacingAngle(playerid, 0);
SetPlayerInterior(playerid,0);
PlayerInfo = 0;
/*SetPlayerHealth(playerid, 50.0);
PlayerInfo += 1;
SetPlayerInterior(playerid, 3);
PlayerInfo = 3;
rand = random(sizeof(gMedicSpawns));
SetPlayerPos(playerid, gMedicSpawns, gMedicSpawns, gMedicSpawns); // Warp the player
SetPlayerFacingAngle(playerid, 0);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~w~You need to rest now ...", 30000, 3);
JustDied = 1;
MedicTime = 1;
ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0);
if(PlayerInfo > 0)
{
NeedMedicTime = 30;
}
else
{
NeedMedicTime = 40;
}*/
return 1;
}
}ovo treba promijenit uzmi svoje Coordinate i stavi tu tako da ce se tu spawnati posle...
SetPlayerPos(playerid,1178.8889,-1323.5004,14.1423);
pre 14 godina
Tebi ne vredi ni 50 puta da ti odgovorim :S
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
pre 14 godina
Ralph wrote on June 5, 2011, 2:03 pm:
Tebi ne vredi ni 50 puta da ti odgovorim :S
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
I Ovime ces mu pomoc 😢 😢 Svaka Cast HHH Prvo Protestaj pa onda pomazi krivom smeru!
pre 14 godina
@Ralph
public OnPlayerDeath(playerid,killerid, reason)
{
SetPVarInt(playerid, "Krepalo Govno", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo Govno") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo Govno", 0);
}
return 1;
}
umjesto bug u ime stavi bott
public OnPlayerDeath(playerid,killerid, reason)
{
SetPVarInt(playerid, "Krepalo Govno", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo Govno") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo Govno", 0);
}
return 1;
}
|BUG|F!L0 wrote on June 5, 2011, 2:05 pm:
I Ovime ces mu pomoc 😢 😢 Svaka Cast HHH Prvo Protestaj pa onda pomazi krivom smeru!
umjesto bug u ime stavi bott
pre 14 godina
Ralph wrote on June 5, 2011, 2:03 pm:
Tebi ne vredi ni 50 puta da ti odgovorim :S
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
new Dead;
public OnPlayerDeath(playerid,killerid, reason)
{
Dead = 1;
return 1;
}
public OnPlayerSpawn(playerid)
{
if (Dead == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
Dead = 0;
}
return 1;
}
Imam broblem.. :@ kad to sve dodam sa kordinatama jednostavno mi poludi pawnoi ugasi se :@ ima li neki ''lek'' za to ?
pre 14 godina
hahah ma neee nego nadjes gde ti je mayor spawn ili hitman spawn povise imas gore medic nesto tako imas coordinate i stavis tvoje kao sto sam ti pokazao al stavi na mjestu gde treba jbt!
pre 14 godina
|BUG|F!L0 wrote on June 5, 2011, 3:48 pm:
hahah ma neee nego nadjes gde ti je mayor spawn ili hitman spawn povise imas gore medic nesto tako imas coordinate i stavis tvoje kao sto sam ti pokazao al stavi na mjestu gde treba jbt!
ok brate smesan si xD evo probacu 😉
pre 14 godina
Uzmi jednostavno samo promeni koordinate jer ti to vec imas u Skripti, ja nisam citao pa sam mislio da zelis da napravis to...pa sam ti dao ono kako treba...
pre 14 godina
On zeli obicni spawn i spawn poslije smrti -.-''
!K4[Я]!
public OnPlayerDeath(playerid,killerid, reason)
{
SetPVarInt(playerid, "Krepalo Govno", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo Govno") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo Govno", 0);
}
return 1;
}
!K4[Я]!
public OnPlayerDeath(playerid,killerid, reason)
{
SetPVarInt(playerid, "Krepalo Govno", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo Govno") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo Govno", 0);
}
return 1;
}
pre 14 godina
Quote from June 5, 2011, 2:12 pm:
public OnPlayerDeath(playerid,killerid, reason)
{
SetPVarInt(playerid, "Krepalo ", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo ") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo ", 0);
}
return 1;
}
{
SetPVarInt(playerid, "Krepalo ", 1);
return 1;
}
public OnPlayerSpawn(playerid)
{
if (GetPVarInt(playerid, "Krepalo ") == 1) {
SetPlayerPos(playerid, X,Y,Z); // Tu kordinate Spawna
SetPVarInt(playerid, "Krepalo ", 0);
}
return 1;
}
da brate a jel moze to i na SS ? 😄
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava