CMD:parancs(playerid, params[]){sscanf(params,\"uis\", userid, ido, ok)) // return SendClientMessage. . .}
sscanf(params,\"s[30]s[30]s[30]\",nev1,nev2,nev3)) // return SendClientMessage. . .
sscanf(params,\"uuu\",id1,id2,id3)) // return SendClientMessage. . .
sscanf(params,\"p< >s[30]s[30]s[30]\",nev1,nev2,nev3)) // return SendClientMessage. . .//tod és akk ide://nev1id = ReturnPlayerID(nev1); // szedd le a stock-ot! //és így tovább//és gettelésnél://GetPlayerPos(playerid,pos[0],pos[1],pos[2]);//SetPlayerPos(nev1id,pos[0],pos[1],pos[2]+2);//SetPlayerPos(nev2id,pos[0],pos[1],pos[2]+2);//SetPlayerPos(nev3id,pos[0],pos[1],pos[2]+2);
sscanf(params,\"p< >uuu\",id1,id2,id3)) // return SendClientMessage. . .//getnél ugyanez, csak nem kell a player id lekérdezése, mert ezt adod meg.
Format UseL(true/false) Optional logical truthityl Logical truthityB(binary) Optional binary numberb Binary numberN(any format number) Optional numbern NumberC(character) Optional characterc CharacterI(integer) Optional integeri IntegerD(integer) Optional integerd IntegerH(hex value) Optional hex numberh Hex numberO(octal value) Optional octal valueo Octal valueF(float) Optional floating point numberf Floating point numberG(float/INFINITY/-INFINITY/NAN/NAN_E) Optional float with IEEE definitionsg Float with IEEE definitions{ Open quiet section} Close quiet sectionP<delimiter> Invalid delimiter changep<delimiter> Delimiter changeZ(string)[length] Invalid optional stringz(string)[length] Deprecated optional stringS(string)[length] Optional strings[length] StringU(name/id) Optional user (bot/player)u User (bot/player)Q(name/id) Optional bot (bot)q Bot (bot)R(name/id) Optional player (player)r Player (player)A<type>(default)[length] Optional array of given typea<type>[length] Array of given typeE<specification>(default) Optional enumeration of given layoute<specification> Enumeration of given layout\'string\' Search string% Deprecated optional specifier prefix