- 0
2 Probleme [ Ajutor ]
-
Similar Content
-
- 2 replies
- 157 views
-
Ajutor
By O dai cu So2,
- 1 reply
- 332 views
-
- 3 replies
- 256 views
-
- 0 replies
- 138 views
-
- 4 replies
- 202 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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]
Link to comment
Share on other sites
14 answers to this question
Recommended Posts