PHP Code:
for(new x = 4; x < 14; ++x)
{
if(playertextid == inventoryText[playerid][x])
{
switch(pageInv[playerid])
{
case 1:
{
SetPVarInt(playerid, "selectedItem", x - 4);
PlayerTextDrawSetPreviewModel(playerid, inventoryText[playerid][17], invItemID[playerid][x - 4] == 0 ? 18631 : invItemID[playerid][x - 4]);
PlayerTextDrawShow(playerid, inventoryText[playerid][17]);
}
}
}
}
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] Seleção de itens em textdraw
Aucun commentaire:
Enregistrer un commentaire