Quero passar isso para DOF2, alguém me ajuda?
PHP Code:
Puxador2(playerid)
{
new str[250], Cache:en;
mysql_format(conectDB, str, sizeof(str), "SELECT * FROM `pinfo` WHERE `puxador` >= '1' AND `torcidas` = '2'");
en = mysql_query(conectDB, str, true);
if(cache_num_rows(conectDB) > 0)
{
new Dialog[1500],Nickz[24];
for(new i; i < cache_num_rows(conectDB); i++)
{
cache_get_field_content(i, "Nick", Nickz, conectDB, 24);
format(Dialog, sizeof(Dialog), "%s%s \r\n", Dialog,Nickz);
}
ShowPlayerDialog(playerid, 999, DIALOG_STYLE_LIST, "Puxadores de sua torcida", Dialog, "Sair", #);
}
else SCM(playerid,COR_ERRO,"[ERRO]: Info Vazia.");
cache_delete(en, conectDB);
return 1;
}
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.
[Ajuda] Me ajudem a passar isso para DOF2
Aucun commentaire:
Enregistrer un commentaire