hash = CreateObject(969, 1443.2604, 663.2594, 9.8388, 0.0000, 0.0000, 0.0000); //test
/-------------------Kapija---------------------------
if(strcmp(cmd,"/hasho",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(Test, 1532.2976, 663.1336, 9.8395,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvaraju se vrata hash familije..");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan Obitelji hash.");
}
return 1;
}
if(strcmp(cmd,"/testc",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(Test, 1523.4078, 663.1533, 9.8388,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata hash familije.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan Obitelji hash.");
}
return 1;
}
Evo problema, uradio sam to prateci upute na ovom forumu, medjutim kad ocu da compile ima 16 errora, moze neko reci u cemo sam pogrjesio.
Tu sam imao 16 errora.
Evo i ovdje 6 errora Gang zone ali sam radio po svome, jos uvijek sam noob u skriptananju a ocu da naucim.
//======================
// Above OnGameModeInit:
new GanG BanG;
// OnGameModeInit Insert
public OnGameModeInit() {
GanG BanG = GangZoneCreate(1098,173, -2167,434, 1352,963, -1970,047);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid) {
GangZoneShowForPlayer(playerid, GanG BanG, 0x0000FF96);
return 1;
}
Zaključano
Pomoc oko pomicnih ogradi
1,312
pregleda
5
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
pre 16 godina
pre 16 godina
Neide ti ovaj topic ovdje...
Evo prvo kapiju da rjesimo
Tamo gore ispod #include ovo
new hash;
public OnGameModeInIt()
{
hash = CreateObject(969, 1443.2604, 663.2594, 9.8388, 0.0000, 0.0000, 0.0000); //test
return 1;
}
//Sjebo si se zato sto si stavio test a ne hash na pocetku MoveObject()
public OnPlayerCommandText(playerid,cmdtext[])
if(strcmp(cmd,"/hasho",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(hash, 1532.2976, 663.1336, 9.8395,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvaraju se vrata hash familije..");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan Obitelji hash.");
}
return 1;
}
if(strcmp(cmd,"/testc",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(hash, 1523.4078, 663.1533, 9.8388,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata hash familije.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan Obitelji hash.");
}
return 1;
}
//======================
// Ovo ide ispod
new GanG_BanG;
// OnGameModeInit Insert
public OnGameModeInit()
{
GanG_BanG = GangZoneCreate(1098,173, -2167,434, 1352,963, -1970,047);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid)
{
GangZoneShowForPlayer(playerid, GanG BanG, 0x0000FF96);
return 1;
}
Neznam dal ce radit ti probaj ja nism neki skripter al znam nesto malo...
Evo prvo kapiju da rjesimo
Tamo gore ispod #include
new hash;
public OnGameModeInIt()
{
hash = CreateObject(969, 1443.2604, 663.2594, 9.8388, 0.0000, 0.0000, 0.0000); //test
return 1;
}
//Sjebo si se zato sto si stavio test a ne hash na pocetku MoveObject()
public OnPlayerCommandText(playerid,cmdtext[])
if(strcmp(cmd,"/hasho",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(hash, 1532.2976, 663.1336, 9.8395,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Otvaraju se vrata hash familije..");
}
else
{
SendClientMessage(playerid, COLOR_RED, "Nisi Clan Obitelji hash.");
}
return 1;
}
if(strcmp(cmd,"/testc",true)==0)
{
if(PlayerInfo == 5||PlayerInfo == 5)
{
MoveObject(hash, 1523.4078, 663.1533, 9.8388,7.000);
SendClientMessage(playerid, COLOR_GREEN, "Zatvarate vrata hash familije.");
}
else
{
SendClientMessage(playerid, COLOR_GREEN, "Nisi Clan Obitelji hash.");
}
return 1;
}
//======================
// Ovo ide ispod
new GanG_BanG;
// OnGameModeInit Insert
public OnGameModeInit()
{
GanG_BanG = GangZoneCreate(1098,173, -2167,434, 1352,963, -1970,047);
return 1;
}
// Player Spawn
public OnPlayerSpawn(playerid)
{
GangZoneShowForPlayer(playerid, GanG BanG, 0x0000FF96);
return 1;
}
Neznam dal ce radit ti probaj ja nism neki skripter al znam nesto malo...
pre 16 godina
tnx vec sam naso na samp wikiju temu sve objasnjeno 😄 pa sam uradio, ae nek i ti nekkom pomognes 👍
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava