Üdv.nem tudom miért van ezek az errorok,próbáltam mindent,gondoltam leírom még részletesebben hátha ti tudtok segíteni.Sajnos nem tudom mi van.
Amúgy nem SeeMod,nagy részét magam irtam,meg 1 régi RPs szerverbõl cuccokat is raktam rá,amin én scripteltem.
(2171) : error 004: function \"Admin\" is not implemented
public Spectator()
{
new string[256];
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(KickPlayer==1) { Kick(i); }
else if(KickPlayer==2) { Ban(i); }
//if(GetPlayerPing(i) >= 500 && !Admin(i, 1)) { Kick(i); }
if(Spectate < 253 && Spectate != 255)
{
SetPlayerColor(i,COLOR_SPEC);
TogglePlayerControllable(i, 0);
new targetid = Spectate;
if(IsPlayerConnected(targetid))
{
TogglePlayerSpectating(i, 1);
if(Admin(i, 1))
{
new Float:health;
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
GetPlayerHealth(targetid, health);
format(string, sizeof(string), \"~n~~n~~n~~n~~n~~n~~y~%s(ID:%d)~n~~y~health:%.1f\",name,targetid,health);
GameTextForPlayer(i, string, 2500, 3);
}
(2209) : error 004: function \"SetPlayerToTeamColor\" is not implemented
if(Spectate == 253)
{
TogglePlayerControllable(i, 1);
TogglePlayerSpectating(i, 0);
SetPlayerInterior(i,Unspec[sPint]);
PlayerInfo[pInt] = Unspec[sPint];
PlayerInfo[pLocal] = Unspec[sLocal];
Unspec[sLocal] = 255;
SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[sPx], Unspec[sPy], Unspec[sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);
gTeam = PlayerInfo[pTeam];
SetPlayerToTeamColor(i);
MedicBill = 0;
if(PlayerInfo[pDonateRank] > 0)
{
SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[Coords][0], Unspec[Coords][1], Unspec[Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(i);
SetCameraBehindPlayer(i);
}layerToTeamColor\" is not implemented
(2234) : error 004: function \"SetPlayerToTeamColor\" is not implemented
if(Spectate == 256)
{
SetPlayerToTeamColor(i);
Spectate = 255;
}
if(Spectate == 257)
{
Spectate = 254;
}
}
}
}
(2302) : error 004: function \"Admin\" is not implemented
if(Spectate == 253)
{
TogglePlayerControllable(i, 1);
TogglePlayerSpectating(i, 0);
SetPlayerInterior(i,Unspec[sPint]);
PlayerInfo[pInt] = Unspec[sPint];
PlayerInfo[pLocal] = Unspec[sLocal];
Unspec[sLocal] = 255;
SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[sPx], Unspec[sPy], Unspec[sPz]-1.0, 1.0, -1, -1, -1, -1, -1, -1);
gTeam = PlayerInfo[pTeam];
SetPlayerToTeamColor(i);
MedicBill = 0;
if(PlayerInfo[pDonateRank] > 0)
{
SetSpawnInfo(i, PlayerInfo[pTeam], PlayerInfo[pModel], Unspec[Coords][0], Unspec[Coords][1], Unspec[Coords][2], 10.0, -1, -1, -1, -1, -1, -1);
SpawnPlayer(i);
SetCameraBehindPlayer(i);
}
(2567) : error 004: function \"PlayerToPoint\" is not implemented
(2579) : error 004: function \"PlayerToPoint\" is not implemented
(2583) : error 004: function \"PlayerToPoint\" is not implemented
(2595) : error 004: function \"PlayerToPoint\" is not implemented
(2608) : error 004: function \"PlayerToPoint\" is not implemented
(2612) : error 004: function \"PlayerToPoint\" is not implemented
(2616) : error 004: function \"PlayerToPoint\" is not implemented
(2628) : error 004: function \"PlayerToPoint\" is not implemented
(2632) : error 004: function \"PlayerToPoint\" is not implemented
public IsAtCarrental(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(30.0,playerid,1696.5543,-1053.4685,23.9063))
{
return 1;
}
}
return 0;
}
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,-1326.8625,2686.3533,50.0625) || PlayerToPoint(6.0,playerid,-1327.5309,2680.8657,50.4688) || PlayerToPoint(6.0,playerid,-1328.5985,2675.5515,50.0625) || PlayerToPoint(6.0,playerid,-1328.9872,2670.0276,50.0625))
{//Benzinkut
return 1;
}
}
return 0;
}
public IsAtCookPlace(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(3.0,playerid,369.9786,-4.0798,1001.8589))
{//Cluckin Bell
return 1;
}
else if(PlayerToPoint(3.0,playerid,376.4466,-60.9574,1001.5078) || PlayerToPoint(3.0,playerid,378.1215,-57.4928,1001.5078))
{//Burgershot
return 1;
}
else if(PlayerToPoint(3.0,playerid,374.1185,-113.6361,1001.4922) || PlayerToPoint(3.0,playerid,377.7971,-113.7668,1001.4922))
{//Well Stacked Pizza
return 1;
}
}
return 0;
}
public IsAtBar(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797))
{//A GroveStreeti Bár, és a Havanna
return 1;
}
else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))
{//PIG Pen
return 1;
}
else if(PlayerToPoint(4.0,playerid,-791.016,512.249,1336.41) || PlayerToPoint(10.0,playerid,-799.122,520.988,1336.41))
{//Nortenos House
return 1;
}
}
return 0;
}
(2930) : error 004: function \"SafeGivePlayerMoney\" is not implemented
SafeGivePlayerMoney(playerid,PlayerInfo[playerid][Penz]); tactical[playerid] = 0; swat[playerid] = 0;
Ez vagy 100soros bekezdés,szóval nem tudom az egészet másolni.
(2936) : error 004: function \"Nevekki\" is not implemented
InAFoodPlace[playerid] = 0; Nevekki(playerid);
(3116) : error 004: function \"ABroadCast\" is not implemented
(3121) : error 004: function \"LoOoG\" is not implemented
LoOoG(stringx);
(3122) : error 004: function \"Nevekki\" is not implemented
Nevekki(playerid);
(3144) : error 004: function \"Nevekki\" is not implemented
if(PlayerInfo[playerid][pJailed] == 1)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][Civilruha1]);
Nevekki(playerid);
new randomaj;
SetPlayerInterior(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
randomaj = random(sizeof(RandomAdminJailSpawn));
SetPlayerPos(playerid, RandomAdminJailSpawn[randomaj][0], RandomAdminJailSpawn[randomaj][1], RandomAdminJailSpawn[randomaj][2]);
SendClientMessage(playerid, COLOR_LIGHTRED, \"Még nem ülted le a büntetésed!\");
return 1;
}
(3156) : error 004: function \"Nevekki\" is not implemented
(3166) : error 004: function \"Nevekki\" is not implemented
(3205) : error 004: function \"Nevekki\" is not implemented
(3206) : error 017: undefined symbol \"randspawn\"
(3207) : error 017: undefined symbol \"randspawn\"
(3207) : error 017: undefined symbol \"randspawn\"
(3207) : error 017: undefined symbol \"randspawn\"
(3209) : error 004: function \"SetPlayerToTeamColor\" is not implemented
if(PlayerInfo[playerid][Korhazban] == 0)
{
if(PlayerInfo[playerid][pOrigin] == 1)// El Quebrados
{
SetPlayerSkin(playerid, PlayerInfo[playerid][Civilruha1]);
Nevekki(playerid);
randspawn = random(sizeof(EQspawn));
SetPlayerPos(playerid, EQspawn[randspawn][0], EQspawn[randspawn][1], EQspawn[randspawn][2]);
SendClientMessage(playerid,0xFFFF00AA,\"Csöves vagy,ezért El Quebrados utcáin ébredtél.Vegyél házat,vagy hálózsákot.\");
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 0);
PlayerInfo[playerid][pInt] = 0;
SetPlayerVirtualWorld(playerid, 0);
PlayerInfo[playerid][pVirWorld] = 0;
new nev[32];
GetPlayerName(playerid, nev, sizeof(nev));
new h,mi,s,y,m,d;
getdate(y,m,d);
gettime(h,mi,s);
format(stringx,sizeof(stringx), \"[%d/%d/%d][%d:%d:%d] %s El Quebradosban kezdett!.\",y,m,d,h,mi,s,nev);
LoOoG(stringx);
return 1;
}
Dupla hozzászólás automatikusan összefûzve. ( 2012. július 12. - 15:57:44 )
Aki tud kérem segitsen.
Dupla hozzászólás automatikusan összefûzve. ( 2012. július 13. - 17:49:15 )
Senki? :S