Jump to content
  • 0

2 Probleme [ Ajutor ]


Mr.Kiss

Question

Prima problema este cand deschid server-ul imi zice asta : Script[gamemode/shr.amx] : Run Time Error 19 : '' File or function is not found ''

Si a doua este problema cu /fcr :

[pawn] if(strcmp(cmd, "/factioncarrespawn", true) == 0 || strcmp(cmd, "/fcr", true) == 0) // by Mr.Kiss

{

    if(IsPlayerConnected(playerid))

    {

        if(PlayerInfo[playerid][pAdmin] < 4)

{

    SendClientMessage(playerid, COLOR_GRAD1, "** you are not authorized to use that command!");

    return 1;

}

new bool:unwanted[MAX_VEHICLES];

for(new player=0; player<MAX_PLAYERS; player++)

    {

            if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }

    }

for(new car = 1; car <= 1850; car++)

{

if(!unwanted[car]) SetVehicleToRespawn(car);

}

format(string, sizeof(string), "Toate Masinile Factiunii au fost Respawnate de AdMiNuL : %s.", sendername);

BroadCast(0x5EFB6EFF,string);

format(string, sizeof(string), "[ADMIN]: %s A dat respawn la masinile factiunii.", sendername);

ABroadCast(COLOR_LIGHTRED,string, 5);

GameTextForAll("~w~Masinile Factiunii au fost~n~~g~Respawnate!",5000,1);

new y, m, d;

new h,mi,s;

getdate(y,m,d);

gettime(h,mi,s);

format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Masinilie Factiuni",d,m,y,h,mi,s,sendername);

AdminLog(string);

}

return 1;

}[/pawn]

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

1.Nu ai pluginurile necesare.

2.Dai gotocar pe server si vezi de la ce id incep masinile de factiune si la ce id se termina.

Si schimbi la linia asta

[pawn]for(new car = 1; car <= 1850; car++)[/pawn]

car = 1  aici pui de la ce id incep cele de factiune si la 1850 id la care se termina.

gXvsYS
Link to comment
Share on other sites

1.Nu ai pluginurile necesare.

2.Dai gotocar pe server si vezi de la ce id incep masinile de factiune si la ce id se termina.

Si schimbi la linia asta

[pawn]for(new car = 1; car <= 1850; car++)[/pawn]

car = 1  aici pui de la ce id incep cele de factiune si la 1850 id la care se termina.

Ok mersi mult . O sa incerc

Link to comment
Share on other sites

Tot la fel scrie cu Script[gamemode/shr.amx] : Run Time Error 19 : '' File or function is not found ''

Am in folderul plugins :

> audio.dll audio.so

> sscanf.dll sscanf.so

> streamer.dll streamer.so

> xstreamer.dll xstreamer.so

Si uite ce am in server.cfg  la plugins :  plugins streamer.so xstreamer.so sscanf.so audio.so

CE AR TREBUI SA FAC ?

Link to comment
Share on other sites

Si uite ce am in server.cfg  la plugins :  plugins streamer.so xstreamer.so sscanf.so audio.so

CE AR TREBUI SA FAC ?

Serverul este deschis pe windows sau pe host?

Daca e pe windows pune : plugins streamer xstreamer sscanf audio

Sau ia ultimele versiuni ale plugins-urilor

Am rezoolvat trebuia sa pun .dll nu .so

Link to comment
Share on other sites

Nu streamerul iti pune serverul pe 0.3d rc7.

Descarca serverul 0.3d de aici si punel.

http://www.sa-mp.ro/

Mersi am rezolvat problema. Acum am alta , cand deschid usi/porti , mi se deschid aiurea , adica se invart si cad ... ce ar trebui sa fac?

Link to comment
Share on other sites

Scuze ca fac dublu-post din nou dar a trecut pe a 2 pagina si nu se mai uita nimeni pe a 2 pagina [ cred ].

Am 2 mici probleme :

1. Cand deschid usile/portile la factiuni/case se invart sau cad aiurea ... Ce ar trebui sa fac ? O fi de la trecerea de la 0.3c in 0.3d ?

2. Cum fac sa apara parola cu stelute adica sa nu vada cel de langa tine ce parola ai la cont .. ?

Mersi anticipat .

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.