- 0
Niste probleme
-
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
TaviZzZ
CMD:setorder(playerid, params[]) {
if(IsPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa te loghezi mai intai.");
if(!IsAMember(playerid)) return SCM(playerid, COLOR_LIGHTRED, "Nu esti un mafiot!");
if(GetPlayerInterior(playerid) == 0) return SendClientMessage(playerid, COLOR_WHITE,"Nu esti in HQ.");
new gunname[128];
if(sscanf(params, "i[10]", gunname)) {
SendClientMessage(playerid, COLOR_GREY, "Syntax:{FFFFFF} /setorder Arma");
SendClientMessage(playerid, COLOR_WHITE, "Available names: Deagle(1), M4(2).");
return 1;
}
if(strcmp(gunname,"1",true) == 0) {
ShowPlayerDialog(playerid, DIALOG_DEAGLE,DIALOG_STYLE_INPUT, "Arma deagle","Scrie numarul de glooante(Nrx40gloante)","Ok","Close");
}
else if(strcmp(gunname,"2",true) == 0) {
SCM(playerid, -1, "Nush de ce am pus asta >)");
}
return 1;
}
Cand scriu comanda si un nr nu face nimic, am gresit ceva cred.
3 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