[pomoc]u vezi war spawna

Započeo Marko_Epepe
27. Jan. 2013. Zaključano
286
pregleda
4
postova
Marko_Epepe
4
Shot Caller
27. Jan. 2013.
Skripta koju koristim:moja
slike/video
problem:Kako da namestim war spawn imam war sistem al problem je sto ne spawnuje tim1 i tim 2 kad poginu gde sam stavio kordinate evo onplayerspawn
 if(WarTim == 0)	{ SetPlayerColor(playerid, 0xffffffff); }
else if(WarTim == 1) { SetPlayerColor(playerid, 0xff0000aa); }
else if(WarTim == 2) { SetPlayerColor(playerid, 0x0000ffaa); }
if(WarZapocet == 1)
{
    if(WarTim == 1)
    {
        SetPlayerVirtualWorld(playerid, War_ 0);
        SetPlayerPos(playerid, -2146.3772, -103.2873, 35.3203);
        SetPlayerFacingAngle(playerid, War1_ 260.7090);
        SetPlayerHealth(playerid, 100);
        SetPlayerArmour(playerid, 100);
        SetPlayerSkin(playerid,115);
        SafeGivePlayerWeapon(playerid, 24, 200);// dodajte jos oruzja ako vam je volja :D
        SafeGivePlayerWeapon(playerid, 31, 500);
return 1;
}
else if(WarTim == 2)
    {
        SetPlayerVirtualWorld(playerid, 0);
        SetPlayerPos(playerid, -2106.1848, -269.6343, 35.3203);
        SetPlayerFacingAngle(playerid, 354.9998);
        SetPlayerHealth(playerid, 100);
        SetPlayerArmour(playerid, 100);
        SetPlayerSkin(playerid,107);
            GivePlayerWeapon(playerid, 24, 200);// dodajte jos oruzja ako vam je volja :D
        GivePlayerWeapon(playerid, 31, 500);
            return 1;
}
}


i onplayerdeath
new ime; GetPlayerName(killerid, ime, sizeof(ime));
new igrac; GetPlayerName(playerid, igrac, sizeof(igrac));
if(WarZapocet == 1)
{
if(WarTim == 1)
{
    if(WarTim == 1)
    {
        WarBrojanje2++;
        SetPlayerPos(playerid, -2146.3772, -103.2873, 35.3203);
        SendClientMessage(playerid, COLOR_RED, "*Protivnici su dobili bod jer ste TKali!");
}
else
{
    WarBrojanje1++;
    new str;
    SetPlayerPos(playerid, -2106.1848, -269.6343, 35.3203);
    format(str,256," (War) Igrac %s je ubio %s", ime, igrac);
    SendWarMessage(COLOR_LR, str);
}
}
if(WarTim == 2)
{
    if(WarTim == 2)
    {
        WarBrojanje1++;
        SendClientMessage(playerid, COLOR_RED, "*Protivnici su dobili bod jer ste TKali!");
}
else
{
    WarBrojanje2++;
    new str;
    format(str,256," (War) Igrac %s je ubio %s", ime, igrac);
    SendWarMessage(COLOR_LR, str);
}
}
}
return 1;
}

pomozite pls
[EX:RP]N1XTON
5
Underboss
27. Jan. 2013.
ovdje ja vidim samo za tkanje nevidim kad igrac protivnik ubije protivnika ovo je samo za TKANJe

new ime; GetPlayerName(killerid, ime, sizeof(ime));
new igrac; GetPlayerName(playerid, igrac, sizeof(igrac));
if(WarZapocet == 1)
{
if(WarTim == 1)
{
    if(WarTim == 1)
    {
        WarBrojanje2++;
        SetPlayerPos(playerid, -2146.3772, -103.2873, 35.3203);
        SendClientMessage(playerid, COLOR_RED, "*Protivnici su dobili bod jer ste TKali!");
}
else
{
    WarBrojanje1++;
    new str;
    SetPlayerPos(playerid, -2106.1848, -269.6343, 35.3203);
    format(str,256," (War) Igrac %s je ubio %s", ime, igrac);
    SendWarMessage(COLOR_LR, str);
}
}
if(WarTim == 2)
{
    if(WarTim == 2)
    {
        WarBrojanje1++;
        SendClientMessage(playerid, COLOR_RED, "*Protivnici su dobili bod jer ste TKali!");
}
else
{
    WarBrojanje2++;
    new str;
    format(str,256," (War) Igrac %s je ubio %s", ime, igrac);
    SendWarMessage(COLOR_LR, str);
}
}
}
return 1;
}
Marko_Epepe
4
Shot Caller
27. Jan. 2013.
a jel mozes objasniti kako se namesta evo ti fs u pastebin pa izmenjaj molim te brate :/ potrebno za server http://pastebin.com/2dX2uFKt
kordinate tim1:-2146.3772, -103.2873, 35.3203
kordinate tim2:-2106.1848, -269.6343, 35.3203
Marko_Epepe
4
Shot Caller
28. Jan. 2013.
BuMp

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha