- 0
Niste probleme
-
Similar Content
-
Problema turf
By Soryn.,
- 2 answers
- 209 views
-
- 1 reply
- 166 views
-
Problema
By ImJustSlim,
- 3 answers
- 279 views
-
- 2 replies
- 151 views
-
- 1 answer
- 296 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.