SA-MP Forums Archive
[DUDA] %S %D Etc... - 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: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [DUDA] %S %D Etc... (/showthread.php?tid=329976)



[DUDA] %S %D Etc... - ValenRatti - 30.03.2012

Alguno me dice que significan? %s es string? %d es numeros? hay mas no? Bueno nose, por eso pregunto jaja. Saludos


Respuesta: [DUDA] %S %D Etc... - Fede.Zink - 30.03.2012

%s bien no se que significan pero se usa para cuando guardas algo en una variable ejemplo GetPlayerName con %s carga el texto que guardaste en la variable mientras que %d carga los numeros guardados en la variable. !. no se si hay mas xd


Re: [DUDA] %S %D Etc... - Daniel-92 - 30.03.2012

%s, %d se usaN en la funcion "format" y "printf" la "s" significa string y la "d" es de decimal, en el enlace puedes ver mбs https://sampwiki.blast.hk/wiki/Format


Respuesta: [DUDA] %S %D Etc... - ValenRatti - 30.03.2012

Muchas graciass


Respuesta: [DUDA] %S %D Etc... - Vladeksh - 31.03.2012

https://sampforum.blast.hk/showthread.php?tid=122681