[Ajuda] CMD separar por virgulas - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] CMD separar por virgulas (
/showthread.php?tid=650634)
CMD separar por virgulas -
pedrotvr - 03.03.2018
Como fazer um comando separado por virgulas em vez de espaзo?
Facilitaria mt minha vida por exemplo no comando /gopos
Alguйm sabe como?
Код:
CMD:gopos(playerid, params[]) {
new Float:x, Float:y, Float:z;
if(sscanf(params,"fff", x, y, z)) {
SendClientMessage(playerid, -1, "Use: /gopos [x] [y] [z]");
return 1;
}
SetPlayerPos(playerid, x, y, z);
return 1;
}
Re: CMD separar por virgulas -
Dayvison_ - 03.03.2018
sscanf(params,"p<,>fff", x, y, z)
Re: CMD separar por virgulas -
pedrotvr - 03.03.2018
Quote:
Originally Posted by Dayvison_
sscanf(params,"p<,>fff", x, y, z)
|
Obrigado! +rep