- 0
Creeare comanda
-
Similar Content
-
- 3 answers
- 949 views
-
- 4 replies
- 416 views
-
- 1 reply
- 234 views
-
- 3 replies
- 431 views
-
- 3 replies
- 432 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Alexandr69
CMD:giveitemall(playerid,params[]) { if(pInfo[playerid][pAdminLevel] >= 6) { new string[64], amount; if(sscanf(params, "is[64]", amount,string)) return SendClientMessage(playerid,-1,""chat" /giveallitem [amount] [item name] (MAKE SURE IT'S NOT INVALID!)"); foreach(Player,i) { AddSlotToInventoryWorld(i,string,amount); } new str[230]; format(str,sizeof(str),"*"COL_YELLOW" %s %s has given everyone "COL_WHITE"%i"COL_GREEN" %s",GetAdminName(playerid),PlayerName(playerid), amount, string); SendClientMessageToAll(-1,str); } return 1;
Aș dori să fac și o comandă încât să dea item doar la un player. Mi-ar trebui doar o eroare că jucătorul nu este conectat. Mă puteți ajuta cum?
Link to comment
Share on other sites
1 answer 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.