[Pomoc] /spawnchange

Započeo ...Nikola...
31. Maj 2012.
344
pregleda
2
postova
[Pawno | MTA] Muhamed
4
Enforcer
1. Jun 2012.
Imas u mom GMu Techland Xperia za /spawnchange...
markinjo98
4
Shot Caller
1. Jun 2012.
evo ti bajka cela komanda samo nemoj nista dirati da se nesto ne be
	if(strcmp(cmd, "/spawnchange", true) == 0)
{
    if(IsPlayerConnected(playerid))
    {
        if(PlayerInfo != 255)
        {
            if(Spectate != 255 && PlayerInfo < 1)
            {
                SendClientMessage(playerid, COLOR_GREY, "  Sada posmatrate nekog, ne mozete sada promeniti spawn !");
                return 1;
            }
            if(SpawnChange)
            {
                SendClientMessage(playerid, COLOR_GREY, "  Sada cete se spawnovati na vasem normalnom mjestu !");
                SpawnChange = 0;
                /*if(IsAnInstructor(playerid))
            {
                if(SchoolSpawn == 0)
                {
                    SchoolSpawn = 1;
                    SendClientMessage(playerid, COLOR_GREY, "  You will now spawn at the Flying School !");
                }
                else if(SchoolSpawn == 1)
                {
                    SchoolSpawn = 0;
                    SendClientMessage(playerid, COLOR_GREY, "  You will now spawn at the Driving School !");
                }
            }*/
            }
            else
            {
                SendClientMessage(playerid, COLOR_GREY, "  Spawnovacete se u vasoj kupljenoj/iznajmljenoj kuci !");
                SpawnChange = 1;
            }
        }
        else
        {
            /*if(IsAnInstructor(playerid))
            {
                if(SchoolSpawn == 0)
                {
                    SchoolSpawn = 1;
                    SendClientMessage(playerid, COLOR_GREY, "  You will now spawn at the Flying School !");
                }
                else if(SchoolSpawn == 1)
                {
                    SchoolSpawn = 0;
                    SendClientMessage(playerid, COLOR_GREY, "  You will now spawn at the Driving School !");
                }
            }
            else
            {*/
            SendClientMessage(playerid, COLOR_GREY, "  Ne posedujete kupljenu/iznajmljenu kucu !");
            return 1;
            //}
        }
    }
    return 1;
}

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha