- 0
Comanda /cuff nu merge GM Burned.
-
Similar Content
-
- 2 answers
- 2.950 views
-
- 1 answer
- 625 views
-
ajutor conectare data de baze in gamemode ca nustiu care pun ca le pun pe amandoua si numi merge va las jos sa imi spuneti care ip trebuie
By pericz,
- 8 answers
- 2.448 views
-
- 2 answers
- 1.180 views
-
Am o problema cu un battlepass,de ce nu merge comanda /misiuni cand o scriu,tin sa precizez ca script-ul mi l-a facut chatgpt
By cbnmihaita,
- 2 answers
- 1.001 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
.maSTER
De ce nu merge? Scriu /cuff si scrie /cuff player id pun player id si nu se intampla nimic, cu un flterscript merge dar e tare urat.
Ce sa fac?
YCMD:cuff(playerid, params[], help) {
if(!IsACop(playerid)) return SCM(playerid, COLOR_GREY, "Nu esti politist.");
new id,string[180];
if(sscanf(params, "u",id)) return SCM(playerid, COLOR_GREY, "USAGE: {FFFFFF}/cuff <playerid/name>");
if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SCM(playerid, COLOR_GREY, "Acel player nu este conectat.");
if(IsACop(id)) return 1;
if(OnDuty[playerid] == 0) return SCM(playerid, COLOR_LGREEN, "Nu poti folosi aceasta comanda deoarece nu esti la datorie!");
if(PlayerCuffed2[id] > 0) return 1;
if(!ProxDetectorS(8.0, playerid, id)) return SCM(playerid, -1, "Acel player nu este langa tine.");
if(id == playerid) return SCM(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda asupra ta!");
if(!IsPlayerInAnyVehicle(id)) return 1;
TogglePlayerControllable(id, 0);
format(string, sizeof(string), "* %s has handcuffed %s.", GetName(playerid),GetName(id));
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
PlayerCuffed2[id] = 1;
SetPlayerAttachedObject(id, 1, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000);
SetPlayerSpecialAction(id,SPECIAL_ACTION_CUFFED);
return 1;
}
27 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now