CMD:setskin(playerid, params[]){new string[128], PID, SkinID; if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);if(sscanf(params, \"ui\", PID, SkinID)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /setskin <ID/Játékosnév> <Skin ID>\");if(SkinID < 0 || SkinID > 299) return SendClientMessage(playerid, 0xFF0000AA, \"Rossz Skin ID!\");SetPlayerSkin(PID, SkinID);format(string, sizeof(string), \"Átállítottad %s(%i)-nek(nak) (ID: %d)-ra(re) a skinjét\", SkinID, PID, playerid); SendClientMessage(playerid, 0x33FF33AA, string); return 1;}
CMD:setskin(playerid, params[]){new string[128], PID, SkinID;if(sscanf(params, \"ui\", PID, SkinID)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /setskin <ID/Játékosnév> <Skin ID>\"); if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);if(SkinID < 0 || SkinID > 299) return SendClientMessage(playerid, 0xFF0000AA, \"Rossz Skin ID!\");SetPlayerSkin(PID, SkinID);format(string, sizeof(string), \"Átállítottad %s(%i)-nek(nak) (ID: %d)-ra(re) a skinjét\", SkinID, PID, playerid); SendClientMessage(playerid, 0x33FF33AA, string);return 1;}CMD:bilincs(playerid, params[]){if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);{ new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /bilincs <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Megbilincselte {ff0000}%s-t!\", name, name2); SendClientMessageToAll(0xB3D5B2AA,string); TogglePlayerControllable(giveplayerid,0); }}return 1;}CMD:levesz(playerid, params[]){if(PInfo[playerid][Level] < 2) return SendClientMessage(playerid,red,error);{ new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME]; if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /levesz <playerid>\");else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");else{GetPlayerName(playerid, name, sizeof(name));GetPlayerName(giveplayerid, name2, sizeof(name2));format(string, sizeof string, \"{00bbff}[RENDÕR,%s]:{008a20} Levette a bilincset {ff0000}%s{008a20}-ról/rõl.\", name,name2); SendClientMessageToAll(0xFF0000FF,string); TogglePlayerControllable(giveplayerid,1); }}return 1;}
megjavult de nem megy a parancs nem tudjátok dcmd(setskin,4,cmdtext); ide hányas kell mer lehet ez a baj
dcmd(setskin,4,cmdtext);
dcmd(setskin, 7, cmdtext);