[Pomoc] /spawnchange
344
pregleda
2
postova
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