- 0
2 Probleme [ Ajutor ]
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
Mr.Kiss
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]
4 answers to this question
Recommended Posts