Kada postavim sebe za lidera i kad me neko ubije,ja se stvorim na aerodrom,a trebalo bi u bazu.
Ajde ljudi,ovaj problem ne mogu da resim danima,znam da nekoliko servera koristi ovaj mod i molim njih i sve da pomognu..hvala
setplayerspawn i tamo nadji lider taj i taj i stavis kordinate
Ali ja kad udjem na server onda se stvorim u bazu,samo kad me neko ubije ili sam sebe kad ubijem,onda se stvorim na aeru :'(
Trebao bi imati komande /selectspawn il /spawnchange prvo odaberi spawn pa se kill.
Evo pogledajte /spawnchange komandu...
Citatif(strcmp(cmd, "/spawnchange", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pPhousekey] != 255)
{
if(Spectate[playerid] != 255 && PlayerInfo[playerid][pAdmin] < 1)
{
SendClientMessage(playerid, COLOR_GREY, " You are Spectating, can't change the Spawn right now !");
return 1;
}
if(SpawnChange[playerid])
{
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at your Normal Place !");
SpawnChange[playerid] = 0;
/*if(IsAnInstructor(playerid))
{
if(SchoolSpawn[playerid] == 0)
{
SchoolSpawn[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Flying School !");
}
else if(SchoolSpawn[playerid] == 1)
{
SchoolSpawn[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Driving School !");
}
}*/
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at your Own / Rented House !");
SpawnChange[playerid] = 1;
}
}
else
{
/*if(IsAnInstructor(playerid))
{
if(SchoolSpawn[playerid] == 0)
{
SchoolSpawn[playerid] = 1;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Flying School !");
}
else if(SchoolSpawn[playerid] == 1)
{
SchoolSpawn[playerid] = 0;
SendClientMessage(playerid, COLOR_GREY, " You will now spawn at the Driving School !");
}
}
else
{*/
SendClientMessage(playerid, COLOR_GREY, " You dont own / rent a House !");
return 1;
//}
}
}
return 1;
}
Kad u igri to ukucam,kaze mi Niste kupili / iznajmili kucu ???
Onda ti nije podesen spawn za org ako uopste postoje organizacije u skripti.,
ajde ljudi molim vas pomozite :'(