CMD:b(playerid, params[]){
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid, COLOR_GREY, "No estбs logueado.");
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USA: /b [ooc chat]");
new string[300];
format(string, sizeof(string), "[ID:%s][OOC] %s: (( %s ))", playerid, GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
return 1;
|
Hola buenas me preguntaba si alguien podria decirme que esta malo en este codigo , a simple vista parece todo bien (Segun mi nula experiencia) Pero al momento de escribir algo usando el /b me aparece un codigo y no puedo encontrar a que se debe :
Код:
CMD:b(playerid, params[]){
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid, COLOR_GREY, "No estбs logueado.");
if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USA: /b [ooc chat]");
new string[300];
format(string, sizeof(string), "[ID:%s][OOC] %s: (( %s ))", playerid, GetPlayerNameEx(playerid), params);
ProxDetector(30.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
return 1;
|
%i Integer (whole number) %d Integer (whole number). %s String %f Floating-point number (Float: tag) %c ASCII character %x Hexadecimal number %b Binary number %% Literal '%'