19.12.2015, 16:32
Quote:
There is nothing wrong here twinki, Show us myfurniture command
|
PHP код:
YCMD:myfurniture(playerid,params[],help) {
new string[128];
if(help) return SendClientMessage(playerid,COLOR_RED,"This command is used to list all your house furniture");
for(new x = 0; x < MAX_FURNITURE;x++) {
if(AccInfo[playerid][HouseOwner] == FurnitureData[x][FurnitureMaster]) {
format(string,sizeof(string),"Object ID: %i || SQL ID: %i || Model ID: %i\n",FurnitureData[x][FurnitureObject],FurnitureData[x][FurnitureID],FurnitureData[x][FurnitureModel]);
SendClientMessage(playerid,COLOR_RED,string);
}
}
return true;
}