17.07.2014, 02:37
pawn Код:
if( isnull( params ) ) return SendClientMessage(playerid, -1, "Erro: /all [texto]");
if( isnull( params ) ) return SendClientMessage(playerid, -1, "Erro: /all [texto]");
#if !defined isnull
#define isnull(%1) \
((!(%1[0])) || (((%1[0]) == '\1') && (!(%1[1]))))
#endif
if(minh_string[0] == '\0'){
}
main(){
new
string[5]
;
if(string[0] == '\0'){
printf(#String estб vazia);
}
string[0] = 'h';
string[1] = 'e';
string[2] = 'l';
string[3] = 'l';
string[4] = 'o';
if(string[0] != '\0'){
printf(#String nгo estб vazia);
printf("String: %s", string);
}
}